Search
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, [updateDependencies])

 Parameters

bounds
The node's bounding rectangle.
updateDependencies
Optional. true if links and attachments must be updated too, or false otherwise.

 Remarks

Use this method to set the size and/or location of a node. If updateDependencies is set, moving the node will also update the control-point coordinates of all links connected to it.

 See Also