Adds an item to the Diagram.
Namespace: MindFusion.Diagramming
File: Diagram.js
This method is called internally by methods of the Factory class. You should call it explicitly only if instantiating items using the new operator.
JavaScript Copy Code |
---|
var node1 = new ShapeNode(diagram); |
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |