The Diagram class represents a flow diagram.
The following tables list the members exposed by the Diagram type.
Name | Description | |
---|---|---|
Initializes a new instance of the Diagram class. |
Name | Description | |
---|---|---|
Gets the active diagram item. |
||
Gets or sets the visual style of adjustment handles of the active item. |
||
Gets or sets the size of adjustment handles that appear around selected items. |
||
Gets or sets a value indicating whether the diagram items should be aligned to a grid. |
||
Gets or sets a value indicating whether multiple selected nodes can be resized simultaneously. |
||
Gets or sets a value indicating whether users are allowed to draw reflexive links. |
||
Gets or sets a value indicating whether link segments can be added and removed interactively. |
||
Gets or sets a value indicating whether users can link nodes that do not have designated anchor points. |
||
Gets or sets a value indicating whether users are allowed to draw links that are not connected to any node. |
||
Gets or sets a value indicating whether auto-arranged link labels should avoid containers. |
||
Gets or sets a value indicating whether auto-arranged link labels should avoid link segments. |
||
Gets or sets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically. |
||
Gets or sets whether links are deleted automatically when their origin or destination is deleted. |
||
Gets or sets a value indicating whether the document area should be resized automatically so it fits the diagram contents. |
||
Gets or sets an object specifying how to fill the diagram background. |
||
Gets or sets a value indicating how to align the background image. |
||
Gets or sets a Base64-encoded image to display as diagram background. |
||
Gets or sets URL of the image to paint as diagram's background. |
||
Gets or sets the radius length of decorations displayed at link intersection points. |
||
Gets or sets the type of DiagramLink objects to create when users starts drawing. |
||
Gets or sets the type of DiagramNode objects to create when users starts drawing. |
||
Gets or sets the default shape assigned to new ShapeNode objects. |
||
Gets or sets a value indicating whether the diagram has changed since loading it. |
||
Gets or sets the visual style of disabled adjustment handles. |
||
Gets or sets initial value of the dynamic property of new links. |
||
Gets or sets how the control responds to users clickingthe +/- button displayed by expandable nodes. |
||
Gets or sets a value indicating the link direction in which tree branches are expanded. |
||
Gets a Factory object that lets you programmatically add new items to the diagram. |
||
Gets or sets the default font of text displayed by diagram items. |
||
Gets or sets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too. |
||
Gets or sets an array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when behavior is set to LinkFreeShapes or DrawFreeShapes. |
||
Gets or sets the color of grid points. |
||
Gets or sets the horizontal offset of the first point of the alignment grid. |
||
Gets or sets the vertical offset of the first point of the alignment grid. |
||
Gets or sets the size of shapes used to represent grid points. |
||
Gets or sets the horizontal distance between adjacent grid points. |
||
Gets or sets the vertical distance between adjacent grid points. |
||
Gets or sets the visual style of the alignment grid. |
||
Returns an array of all items in this diagram. |
||
Gets the lane grid. |
||
Gets or sets the shape displayed at the base of new links. |
||
Gets or sets the default size of arrowheads at base of new links. |
||
Gets or sets the default fill of link arrowheads. |
||
Gets or sets a value indicating how to render the intersection points of links. |
||
Gets or sets the shape displayed as head of new links. |
||
Gets or sets the default size of arrowheads. |
||
Gets or sets a value specifying how far from a link a click is still considered a hit. |
||
Gets or sets the default stroke of links. |
||
Gets or sets the object used to find paths for auto-routed links when diagram nodes are added or their positions change. |
||
Returns an array of all links in this diagram. |
||
Gets or sets the default number of link segments. |
||
Gets or sets the initial shape assigned to new links. |
||
Gets or sets the default text placement and orientation of new links. |
||
Gets or sets the maximum distance between adjacent control points of a link at which the respective segments can be merged. |
||
Gets the global effects applied to nodes in this diagram. |
||
Returns an array of all nodes in this diagram. |
||
Gets or sets a value indicating whether newly created nodes are expandable. |
||
Gets or sets a value indicating whether the joints between segments of Polyline and Cascading links should be rounded. |
||
Gets or sets the radius of joint arcs of rounded links' segments. |
||
Gets or sets initial value of the autoRoute property of new links. |
||
Gets or sets the minimal distance between nodes and auto-routed links. |
||
Gets or sets the visual style of adjustment handles of selected items. |
||
Gets a Selection instance that represents the selection of items in this diagram. |
||
Gets or sets the horizontal offset of items' shadows. |
||
Gets or sets the vertical offset of items' shadows. |
||
Gets or sets the style of shadows. |
||
Gets or sets the default fill of ShapeNode objects. |
||
Gets or sets the location of a shape library file containing custom shape definitions. It can be set to a full URL of the file, or a relative file path. |
||
Gets or sets the default stroke of ShapeNode objects. |
||
Gets or sets a value indicating when to display anchor point marks. |
||
Gets or sets a value indicating whether adjustment handles are painted when they are disabled. |
||
Gets or sets a value indicating whether the alignment grid is visible. |
||
Gets or sets a value indicating whether the lane grid is visible. |
||
Gets or sets the style associated with this diagram. |
||
Gets or sets custom data associated with this diagram. |
||
Gets or sets the theme associated with this diagram. |
||
Gets or sets a value indicating whether saving action records for later undo is enabled. |
||
Gets or sets a value indicating whether validity checks are performed each time an item is added to the diagram. |
||
Gets a string identifying current version of the library. |
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 a Diagram item will be selected. (Inherited from DiagramBase.) |
||
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 component 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. |
Name | Description | |
---|---|---|
Raised when an animated layout completes. (Inherited from DiagramBase.) |
||
Raised when the user edits the text of a table cell. (Inherited from DiagramBase.) |
||
Raised when the user starts to edit the text of a table cell. (Inherited from DiagramBase.) |
||
Raised when the user clicks the diagram at a point where no items are located. (Inherited from DiagramBase.) |
||
Raised when the user adds a node to a ContainerNode. (Inherited from DiagramBase.) |
||
A validation event raised to let you prevent users from adding child nodes to a container. (Inherited from DiagramBase.) |
||
Raised when the user removes a node from a ContainerNode. (Inherited from DiagramBase.) |
||
Raised when the user removes a node from a ContainerNode. (Inherited from DiagramBase.) |
||
Raised when the user folds a container by clicking the arrow-up button in the container's caption bar. (Inherited from DiagramBase.) |
||
Raised when the user unfolds a container by clicking the arrow-down button in the container's caption bar. (Inherited from DiagramBase.) |
||
Raised when the diagram data is loaded. (Inherited from DiagramBase.) |
||
Raised when the Tag or Id of a diagram item must be deserialized from XML format. (Inherited from DiagramBase.) |
||
Raised to draw custom adjustment handles. (Inherited from DiagramBase.) |
||
Raised when an anchor point must be custom-drawn. (Inherited from DiagramBase.) |
||
Raised if expandButtonAction is set to RaiseEvents and the [+/-]button of an expandable node is clicked. (Inherited from DiagramBase.) |
||
Raised when the user finished resizing a header. (Inherited from DiagramBase.) |
||
Raised when the user starts resizing a header. (Inherited from DiagramBase.) |
||
Raised to hit-test custom adjustment handles. (Inherited from DiagramBase.) |
||
Raised when the user clicks a hyperlink inside a node. (Inherited from DiagramBase.) |
||
Raised when the user removes a node from a ContainerNode. (Inherited from DiagramBase.) |
||
Raised when the user starts drawing a new node, just after the DiagramNode instance is created. (Inherited from DiagramBase.) |
||
Raised when an item is added to the diagram. (Inherited from DiagramBase.) |
||
Raised when an item is removed from the diagram. (Inherited from DiagramBase.) |
||
Raised when the user edits the text of a grid cell. (Inherited from DiagramBase.) |
||
Raised when the user clicks a link. (Inherited from DiagramBase.) |
||
Raised when the user draws a new link. (Inherited from DiagramBase.) |
||
A validation event raised while the user is drawing a new link. (Inherited from DiagramBase.) |
||
Raised when a link is deleted, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user tries to delete a link. This event lets you cancel the operation. (Inherited from DiagramBase.) |
||
Raised when a link is deselected, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user double-clicks a link. (Inherited from DiagramBase.) |
||
Raised when the mouse pointer hovers over a link. (Inherited from DiagramBase.) |
||
Raised when the user moves any control point of a link. (Inherited from DiagramBase.) |
||
A validation event raised while the user is modifying a link. (Inherited from DiagramBase.) |
||
Raised when a link has been pasted from the clipboard. (Inherited from DiagramBase.) |
||
Raised when the mouse pointer enters the boundaries of a link. (Inherited from DiagramBase.) |
||
Raised when the mouse pointer leaves the boundaries of a link. (Inherited from DiagramBase.) |
||
Raised when a link is routed by the auto-routing algorithm. (Inherited from DiagramBase.) |
||
Raised when a link is selected, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user tries to select a link. This event lets you cancel the operation. (Inherited from DiagramBase.) |
||
Raised when the user splits a link interactively. (Inherited from DiagramBase.) |
||
Raised when the user edits the text of a link. (Inherited from DiagramBase.) |
||
Raised when the user starts to edit the text of a link. (Inherited from DiagramBase.) |
||
Raised when the user clicks a node. (Inherited from DiagramBase.) |
||
Raised when the user draws a new node. (Inherited from DiagramBase.) |
||
A validation event raised while the user is drawing a new node. (Inherited from DiagramBase.) |
||
Raised when a node is deleted, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user tries to delete a node. This event lets you cancel the operation. (Inherited from DiagramBase.) |
||
Raised when a node is deselected, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the content of a ControlNode is added to the page DOM. (Inherited from DiagramBase.) |
||
Raised when the user double-clicks a node. (Inherited from DiagramBase.) |
||
Raised when the mouse pointer hovers over a node. (Inherited from DiagramBase.) |
||
Raised when the user moves or resizes a node. (Inherited from DiagramBase.) |
||
A validation event raised while the user is moving or resizing a node. (Inherited from DiagramBase.) |
||
Raised when a node has been pasted from the clipboard. (Inherited from DiagramBase.) |
||
Raised when the mouse pointer enters the boundaries of a node. (Inherited from DiagramBase.) |
||
Raised when the mouse pointer leaves the boundaries of a node. (Inherited from DiagramBase.) |
||
Raised when a node is selected, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user tries to select a node. This event lets you cancel the operation. (Inherited from DiagramBase.) |
||
Raised when the user edits the text of a node. (Inherited from DiagramBase.) |
||
Raised when the user starts to edit the text of a node. (Inherited from DiagramBase.) |
||
Raised to enumerate diagram views. (Inherited from DiagramBase.) |
||
Raised when the diagram selection has changed. (Inherited from DiagramBase.) |
||
A validation event raised while the user is moving or resizing multiple items. (Inherited from DiagramBase.) |
||
Raised when the Tag or Id of a diagram item must be serialized in XML format. (Inherited from DiagramBase.) |
||
Raised when the size of the diagram canvas has changed. (Inherited from DiagramBase.) |
||
Raised when the user finishes resizing a column in a table. (Inherited from DiagramBase.) |
||
Raised when the user resizes a column in a table interactively. (Inherited from DiagramBase.) |
||
Raised when the user finishes resizing a row in a table. (Inherited from DiagramBase.) |
||
Raised when the user resizes a row in a table interactively. (Inherited from DiagramBase.) |
||
Raised when a table section is collapsed. (Inherited from DiagramBase.) |
||
Raised when a table section is expanded. (Inherited from DiagramBase.) |
||
Raised when a user collapses a tree branch by clicking the [-] button of an expandable node. (Inherited from DiagramBase.) |
||
Raised when a user expands a tree branch by clicking the [+] button of an expandable node. (Inherited from DiagramBase.) |
||
Raised when the user edits the text of a tree view item. (Inherited from DiagramBase.) |
||
Raised when the user starts to edit the text of a tree view item. (Inherited from DiagramBase.) |
||
A validation event that lets you approve or reject connecting a link to an anchor point. (Inherited from DiagramBase.) |
||
A validation event that lets you approve or reject displaying a decoration at the intersection point of links. (Inherited from DiagramBase.) |