Search
Factory.CreateDiagramLink Method (DiagramNode, DiagramNode)
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramLink CreateDiagramLink (
    DiagramNode origin,
    DiagramNode destination
)

Visual Basic  Copy Code

Public Function CreateDiagramLink( _
    origin As DiagramNode, _
    destination As DiagramNode _
) As DiagramLink

 Parameters

origin
The origin node.
destination
The destination node.

 Return Value

The newly created DiagramLink instance.

 Remarks

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

 See Also