Search
DiagramLink Constructor
See Also
 





Initializes a new instance of the DiagramLink class between the specified nodes using the specified diagram link as a prototype.

Namespace: MindFusion.Diagramming
File: DiagramLink.js

 Syntax

JavaScript  Copy Code

function DiagramLink ([parent, [origin, [destination]]])

 Parameters

parent
Optional.

Diagram. The Diagram from which to obtain default values for the link properties.

origin
Optional.

DiagramNode | Point. The origin node of the new link.

destination
Optional.

DiagramNode | Point. The destination node of the new link.

 See Also