ASP.NET Pack Programmer's Guide
Factory.createDiagramLink Method
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

Factory Members
Factory Class
MindFusion.Diagramming Namespace