DroidDiagram Programmer's Guide
Factory.createDiagramLink Method (TreeViewNode, TreeViewItem, TreeViewNode, TreeViewItem)
See Also
 






Creates a new DiagramLink instance between the specified tree items and adds it to the Diagram.getLinks collection of the underlying diagram.

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

 Syntax

Java  Copy Code

public DiagramLink createDiagramLink (
    TreeViewNode origin,
    TreeViewItem originItem,
    TreeViewNode destination,
    TreeViewItem destinationItem
)

 Parameters

origin

The origin node.

originItem

The origin item.

destination

The destination node.

destinationItem

The destination item.

 Return Value

The newly created DiagramLink instance.

 See Also

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