DroidDiagram Programmer's Guide
Factory.createDiagramLink Method (Point2D, DiagramNode)
See Also
 






Creates a new DiagramLink instance between the specified point and the specified node, 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 (
    PointF origin,
    DiagramNode destination
)

 Parameters

origin
The origin point.
destination
The destination node.

 Return Value

The newly created DiagramLink instance.

 Remarks

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

 See Also

createDiagramLink Method Overload List
Factory Members
Factory Class
com.mindfusion.diagramming Namespace