Initializes a new instance of the AddItemCommand class.
Namespace: MindFusion.Diagramming
Package: AddItemCommand.js
JavaScript Copy Code |
---|
function AddItemCommand (diagram, item) |
The Diagram modified by this command.
A new DiagramItem that should be added to the Diagram.