Search
Factory.createTreeViewNode Method
See Also
 






Creates a new TreeViewNode instance and adds it to the nodes collection of the underlying diagram.

Namespace: MindFusion.Diagramming
File: Factory.js

 Syntax

JavaScript  Copy Code

function createTreeViewNode ([bounds, [x, [y, [width, [height]]]]])

 Parameters

bounds
Optional.

Rect. Specifies the bounding rectangle of the new node.

x
Optional.

Number. The x-coordinate of the upper-left corner of the new node.

y
Optional.

Number. The y-coordinate of the upper-left corner of the new node.

width
Optional.

Number. The width of the new node.

height
Optional.

Number. The height of the new node.

 Return Value

TreeViewNode. The newly created TreeViewNode instance.

 See Also