Initializes a new instance of the ShapeNode class with default values supplied form the specified Diagram.
Namespace: MindFusion.Diagramming
Package: ShapeNode.js
JavaScript Copy Code |
---|
function ShapeNode ([parent]) |
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.
NetDiagram Programmer's Guide | © 2023 MindFusion |