Search
Factory.createDiagramLink Method (DiagramNode, Point2D)
See Also
 

Creates a new DiagramLink instance between the specified node and the specified point, and adds it to the Links collection of the underlying diagram.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public DiagramLink createDiagramLink (
    DiagramNode origin,
    Point2D destination
)

 Parameters

origin
The origin node.
destination
The destination point.

 Return Value

The newly created DiagramLink instance.

 Remarks

The method creates a link connecting the node specified by origin and the point specified by destination. For further customization of the link, use the methods of the DiagramLink class.

 See Also