MindFusion.Diagramming for JavaScript Programmer's Guide

DiagramLink.setOrigin Method

See Also
 





Sets the origin of the DiagramLink.

Namespace: MindFusion.Diagramming
File: DiagramLink.js

 Syntax

JavaScript  Copy Code

function setOrigin (origin)

 Parameters

origin
The node that will be the origin of the link.

 Remarks

The link's origin can be changed programmatically with this method.

 See Also