Search
Factory.CreateDiagramLink Method (TreeViewNode, TreeViewItem, TreeViewNode, TreeViewItem)
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Function CreateDiagramLink( _
    origin As TreeViewNode, _
    originItem As TreeViewItem, _
    destination As TreeViewNode, _
    destinationItem As TreeViewItem _
) As DiagramLink

 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