Creates a new ContainerNode instance and adds it to the nodes collection of the underlying diagram.
Namespace: MindFusion.Diagramming
File: Factory.js
JavaScript Copy Code |
---|
function createContainerNode ([bounds, [x, [y, [width, [height]]]]]) |
Number. The x-coordinate of the upper-left corner of the new node.
Number. The y-coordinate of the upper-left corner of the new node.
Number. The width of the new node.
Number. The height of the new node.
The newly created ContainerNode instance.
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |