Search
ShapeNode Constructor
See Also
 





Initializes a new instance of the ShapeNode class with default values supplied form the specified Diagram.

Namespace: MindFusion.Diagramming
Package: ShapeNode.js

 Syntax

JavaScript  Copy Code

function ShapeNode ([parent])

 Parameters

parent
Optional. The Diagram from which to obtain default values for the node properties.

 Remarks

If parent is not specified, this constructor initializes the ShapeNode properties with the values specified in the respective default-value properties of the Diagram object.

If parent is specified, the constructor copies the ShapeNode property values from the specified prototype node.

 See Also