Creates a new DiagramLink instance between the specified nodes and adds it to the Links collection of the underlying diagram.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public DiagramLink createDiagramLink ( |
The origin node.
The index of an anchor point within the origin node's AnchorPattern.
The destination node.
The index of an anchor point within the destination node's AnchorPattern.
The newly created DiagramLink instance.
The method creates a link connecting the shape nodes specified by origin and destination. For further customization of the link, use the methods of the DiagramLink class.