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: Factory.js

 Syntax

JavaScript  Copy Code

function createDiagramLink ([origin, [destination]])

 Parameters

origin
Optional. The origin node.
destination
Optional. The destination node.

 Return Value

The newly created DiagramLink instance.

 Remarks

The method creates a link connecting the nodes specified by origin and destination.

 See Also