Adds an item to the Diagram.
Namespace: MindFusion.Diagramming
File: Diagram.js
Syntax
RemarksThis method is called internally by methods of the Factory class. You should call it explicitly only if instantiating items using the new operator.
ExampleJavaScript
Copy Code
|
|---|
var node1 = new ShapeNode(diagram); |
See Also