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






Creates a new DiagramLink instance between the specified table 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 (
    TableNode origin,
    int originRow,
    DiagramNode destination
)

 Parameters

origin
The origin node.
originRow

The zero-based index of the destination table row of the new link.

destination
The destination node.

 Return Value

The newly created DiagramLink instance.

 Remarks

The method creates a link connecting the table 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