MindFusion.Diagramming for JavaScript Programmer's Guide
DiagramNode.setBounds Method
See Also
 





Sets the rectangle that defines the position of the diagram node.

Namespace: MindFusion.Diagramming
File: DiagramNode.js

 Syntax

JavaScript  Copy Code

function setBounds (bounds, [updateLinks])

 Parameters

bounds
The node's bounding rectangle.
updateLinks
Optional.

true if the links must be updated; otherwise, false.

 Remarks

Use this method to set the size and/or location of a node. Moving a node also updates the control points coordinates of all links connected to it.

 See Also

DiagramNode Members
DiagramNode Class
MindFusion.Diagramming Namespace