Name | Description | |
---|---|---|
Adds an item to the Diagram. |
||
Returns a point of the alignment grid nearest to the one passed as an argument. |
||
Arranges the diagram with the given layout. |
||
Arranges the diagram using the given layout, and animates items moving to their new positions. |
||
Rearranges link labels whose autoArrange property is enabled. |
||
Stops recording undo/redo commands into a CompositeCommand and discards the records created so far. |
||
Removes all items from the diagram. |
||
Stops recording undo/redo commands into a CompositeCommand and saves the composite in the history queue. |
||
Executes the specified command on this diagram. |
||
Deserializes the diagram from a JSON string. |
||
Loads diagram contents from specified XML Document. |
||
Returns the smallest rectangle that bounds all diagram items. |
||
Finds and returns the topmost DiagramItem found at the specified location. |
||
Finds and returns an array of the diagram items found at the specified location. |
||
Finds and returns the topmost DiagramLink found at the specified location. |
||
Finds and returns an array of the diagram DiagramLinks found at the specified location. |
||
Returns the node nearest to the specified point. |
||
Finds and returns the topmost DiagramNode found at the specified location. |
||
Finds and returns an array of the DiagramNodes found at the specified location. |
||
Checks if the specified item can be modified interactively. |
||
Checks if the specified item is currently visible. |
||
Loads diagram contents from specified XML or JSON string. |
||
Loads the diagram from an XML file. |
||
Raises an event which notifies that a Diagram item has been clicked. |
||
Raises an event which notifies that a Diagram item has been created. |
||
Raises an event which notifies that a Diagram item has been deleted. |
||
Raises an event which notifies that a Diagram item has been deselected. |
||
Raises an event which notifies that a Diagram item has been double-clicked. |
||
Raises an event which notifies that a Diagram item has been modified. |
||
Raises an event which notifies that a Diagram item has been pasted from clipboard. |
||
Raises an event which notifies that a Diagram item has been selected. |
||
Raises an event which notifies that a Diagram item will be selected. |
||
Raises an event which notifies that the selection has changed. |
||
Executes again an action saved in the command history. |
||
Registers a diagram item class. |
||
Registers a diagram item class for XML serialization support. |
||
Removes the specified item from the Diagram. |
||
Resize the document extents so that the specified item is contained within. |
||
Resizes the document scrollable area so that it fits all diagram items. |
||
Routes all links in the diagram in such a way they do not cross nodes. |
||
Encodes the diagram contents into an XML or JSON string. |
||
Saves the diagram to an XML file. |
||
Starts recording undo/redo commands into a CompositeCommand. |
||
Serializes the diagram into a JSON string. |
||
Saves the diagram into an XML Document. |
||
Undoes an action saved in the command history. |