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 | |
---|---|---|
![]() |
Registers listener so that it will receive events when users create, modify or delete diagram items. |
|
![]() |
Aligns a point to the alignment grid. |
|
![]() |
Rearranges link labels whose AutoArrange property is enabled. |
|
![]() |
Sets new MeasureUnit value and scales the coordinates of diagram items so that their absolute size remains unchanged. |
|
![]() |
Deletes all items from the diagram. |
|
![]() |
Creates a copy of the currently selected objects and groups. |
|
![]() |
Overloaded. Creates a bitmap image representing the diagram contents. |
|
![]() |
Implements the IItemFactory interface. |
|
![]() |
Creates a styled text object for the specified text string. |
|
![]() |
Creates a Theme object representing the default properties of the diagram. This method is only for compatibility with files saved with versions earlier than 4.0. |
|
![]() |
Destroys the specified group. The group items are not deleted, unless its setAutoDeleteItems method is calles. |
|
![]() |
Renders the diagram on the specified Canvas object. |
|
![]() |
Draws the current alignment guides. |
|
![]() |
Renders all items of a layer to the specified graphics. |
|
![]() |
|
|
![]() |
|
|
![]() |
|
|
![]() |
Executes a command and saves it in the undo/redo history. |
|
![]() |
Finds the group that has the specified tag. |
|
![]() |
Finds the link that has the specified tag. |
|
![]() |
Finds the link that has the specified id value. |
|
![]() |
Finds the node that has the specified tag. |
|
![]() |
Finds the node that has the specified id value. |
|
![]() |
Gets the active item. |
|
![]() |
Gets the visual style of the manipulation handles displayed around the active item. |
|
![]() |
Gets the zero-based index of the active layer. |
|
![]() |
Gets the size of selection handles. |
|
![]() |
Gets the pen used to draw alignment guides. |
|
![]() |
Gets a value indicating whether items are aligned to the alignment grid while users draw them. |
|
![]() |
Gets a value indicating whether users are allowed to draw more than one links between the same nodes. |
|
![]() |
Gets whether multiple selected nodes can be resized simultaneously. |
|
![]() |
Gets whether users are allowed to draw reflexive links. |
|
![]() |
Gets whether link segments can be added and removed interactively. |
|
![]() |
Gets a value indicating whether users are allowed to attach links to nodes that do not have any anchor points. |
|
![]() |
Gets a value indicating whether users are allowed to draw unconnected links. |
|
![]() |
Gets the maximal horizontal or vertical distance at which a node aligns to the borders of other nodes. |
|
![]() |
Gets whether nodes should automatically align to the borders of other nodes during user interaction. |
|
![]() |
Gets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically. |
|
![]() |
Gets a value specifying whether the document scrollable area is resized automatically when users draw items near the edges of the diagram. |
|
![]() |
Specifies the maximum distance at which links auto-snap to nodes. |
|
![]() |
Gets the default value for the AutoSnapToNode property of new links. |
|
![]() |
Gets the diagram's background brush. |
|
![]() |
Gets the background image. |
|
![]() |
Gets how the background image is positioned relatively to the scrollable area of the diagram. |
|
![]() |
Gets the URL of the background image. |
|
![]() |
Gets the bounds of the scrollable area of the diagram. |
|
![]() |
Gets the pen with which the diagram bounds are drawn. |
|
![]() |
Gets the default style of the cell frames of new tables. |
|
![]() |
Gets the table of registered item identifiers. |
|
![]() |
Gets the default value for the Caption attribute of containers. |
|
![]() |
Gets the default value for the CaptionHeight attribute of containers. |
|
![]() |
Gets the default value for the HighlightPen attribute of containers. |
|
![]() |
Gets the default value for the Margin attribute of containers. |
|
![]() |
Gets the default value for the MinimumSize attribute of containers. |
|
![]() |
Gets the theme-level style for container nodes. |
|
![]() |
Gets the default value for the Foldable attribute of containers. |
|
![]() |
Returns the smallest rectangle that bounds all diagram items. |
|
![]() |
Gets the radius of the shapes drawn at link crossing points. |
|
![]() |
Gets the type of components that will be hosted by default in newly created ControlNode objects. |
|
![]() |
Gets the default shape of nodes. |
|
![]() |
Gets the theme-level style for diagram links. |
|
![]() |
Gets the theme-level style for the diagram. |
|
![]() |
Indicates whether the diagram has changed since the last save. |
|
![]() |
Gets the visual style of disabled manipulation handles. |
|
![]() |
Gets a value indicating whether links automatically update their end points positions so that they will always point towards the node centers. |
|
![]() |
Gets the currently effective background brush of the diagram. This property returns the BackBrush if it is not null, or the brush from the associated style or theme otherwise. |
|
![]() |
Gets whether lanes are enabled. |
|
![]() |
Gets a value indicating whether new nodes display richly formatted text. |
|
![]() |
Gets what should happen when a user clicks the +/- button that is displayed near expandable nodes. |
|
![]() |
Gets where expand/collapse buttons are located relatively to their nodes. |
|
![]() |
Gets which direction of links is considered the tree direction when expanding or collapsing diagram branches. |
|
![]() |
Gets a Factory instance that lets you add programmatically new items to the diagram. |
|
![]() |
Gets the size of folded containers. |
|
![]() |
Gets the default font for new diagram items. |
|
![]() ![]() |
Returns the file format id of the file currently being loaded. |
|
![]() |
Gets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too. |
|
![]() |
Gets an array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when Behavior is set to LinkFreeShapes or DrawFreeShapes. |
|
![]() |
Gets the color of the alignment grid. |
|
![]() |
Gets the horizontal offset of the first point of the alignment grid. |
|
![]() |
Gets the vertical offset of the first point of the alignment grid. |
|
![]() |
Gets the horizontal distance between grid points. |
|
![]() |
Gets the vertical distance between grid points. |
|
![]() |
Gets the appearance style of the alignment grid. |
|
![]() |
Gets a collection of all groups in the diagram. |
|
![]() |
Gets a value indicating the order in which items are hit-tested. |
|
![]() |
Specifies the default resolution of images. |
|
![]() |
|
|
![]() |
Gets an InteractionState instance representing the current action being carried out by the user. |
|
![]() |
Overloaded. |
|
![]() |
Gets a collection of all items in the diagram. |
|
![]() |
Gets the Grid instance that represents the lane grid. |
|
![]() |
Gets a list of the layers in the current diagram. |
|
![]() |
Overloaded. |
|
![]() |
Gets the default shape displayed at the origin of new links. |
|
![]() |
Gets the default size of the shape displayed at the origin of new links. |
|
![]() |
Gets the default brush assigned to new links. |
|
![]() |
Gets the default orientation of the first segments of cascading links. |
|
![]() |
Gets what shapes are drawn at link crossing points. |
|
![]() |
Gets the default type of custom painting done on links. |
|
![]() |
Gets a value indicating that users are allowed to move the end points of a link after the link is created. |
|
![]() |
Gets the default style of link selection handles. |
|
![]() |
Gets the default shape displayed as head of new links. |
|
![]() |
Gets the default size of the shape displayed as arrowhead of new links. |
|
![]() |
Gets the default shape displayed at the middle of links segments. |
|
![]() |
Gets the default size of the shape displayed at the middle of links segments. |
|
![]() |
Gets the default pen assigned to new links. |
|
![]() |
Gets the component used to find paths for auto-routed links when diagram nodes are added or their positions change. |
|
![]() |
Gets a collection of all links in the diagram. |
|
![]() |
Returns the links that contain the specified point. |
|
![]() |
Gets the default number of link segments. |
|
![]() |
Gets the default shape of links. |
|
![]() |
Gets a value indicating whether new links are set to maintain their shapes while the nodes they connect are moved around. |
|
![]() |
Gets the default text assigned to new links. |
|
![]() |
Gets the default placement and orientation of links' text. |
|
![]() |
Gets the current unit of measure. |
|
![]() |
Gets the maximum distance between adjacent control points of a link at which the respective segments can be merged. |
|
![]() |
Returns the nearest node whose bounding rectangle is intersected by the circle, defined by origin point and radius. |
|
![]() |
Overloaded. |
|
![]() |
Gets a collection with all effects applied to the nodes of this diagram. |
|
![]() |
Gets a collection of all nodes in the diagram. |
|
![]() |
Returns the nodes that contain the specified point. |
|
![]() |
Gets whether the tree branches that start from new nodes are expandable by default. |
|
![]() |
Gets whether tree branches are expanded recursively. |
|
![]() |
|
|
![]() |
Gets a value indicating whether users are allowed to move items outside the currently defined document bounds. |
|
![]() |
Gets a value indicating whether newly created links will automatically find their way between nodes. |
|
![]() |
Gets a RoutingOptions instance that lets you set various attributes of the link routing algorithm. |
|
![]() |
Gets a value indicating whether newly created items are selected automatically. |
|
![]() |
Gets the visual style of the manipulation handles displayed around selected items. |
|
![]() |
Gets a Selection instance representing the current selection. |
|
![]() |
Gets a value indicating whether selected items are drawn on top of the non-selected ones. |
|
![]() |
Gets .the default brush used to paint the shadows cast by diagram items. |
|
![]() |
Gets the default horizontal distance between shadows and the items that cast them. |
|
![]() |
Gets the default vertical distance between shadows and the items that cast them. |
|
![]() |
Gets the style of shadows. |
|
![]() |
Gets the default brush assigned to new nodes. |
|
![]() |
Gets whether new nodes should be custom drawn and what type of custom drawing will be performed on them. |
|
![]() |
Gets the default value for the HandlesStyle property of new shape nodes. |
|
![]() |
Gets the theme-level style for shape nodes. |
|
![]() |
Gets the default shape definition orientation angle assigned to new nodes. |
|
![]() |
Gets the default pen assigned to new nodes. |
|
![]() |
Gets the default text assigned to new nodes. |
|
![]() |
Gets a value indicating whether anchor points should be shown on screen. |
|
![]() |
Gets whether disabled manipulation handles are displayed. |
|
![]() |
Gets a value indicating whether the alignment grid is displayed. |
|
![]() |
Gets whether selection handles of objects under the pointer are displayed while another object is being modified. |
|
![]() |
Gets a value indicating when links should snap to anchor points. |
|
![]() |
Gets the style associated with the diagram. |
|
![]() |
Gets the default brush assigned to new tables. |
|
![]() |
Gets the default caption text assigned to new tables. |
|
![]() |
Gets the default height of the caption area of new tables. |
|
![]() |
Gets how many columns new tables have by default. |
|
![]() |
Gets the default width of the columns of new tables. |
|
![]() |
Gets how users are allowed to link tables to each other - as integral entities, by rows, or both. |
|
![]() |
Gets the default style of table selection handles. |
|
![]() |
Gets the theme-level style for table nodes. |
|
![]() |
Gets the default pen assigned to new tables. |
|
![]() |
Gets how many rows new tables have by default. |
|
![]() |
Gets the default height of the row of new tables. |
|
![]() |
Gets the default value of the Shape property of new tables. |
|
![]() |
Gets a value indicating whether users are allowed to scroll new tables. |
|
![]() |
Gets the custom data associated with this diagram. |
|
![]() |
Gets the default text color that is assigned to new items. |
|
![]() |
Gets the default format and alignment of the text of new items. |
|
![]() |
Gets the theme associated with the diagram. |
|
![]() |
Gets the tooltip text. |
|
![]() |
Gets the theme-level style for tree view nodes. |
|
![]() |
Gets the table of registered item types. |
|
![]() |
Gets the diagram's UndoManager. |
|
![]() |
Propagates touch input to interested manipulators. |
|
![]() |
Transforms points from the image coordinate space to the document coordinate space. |
|
![]() |
Converts from image coordinates to document coordinates. |
|
![]() |
Converts from image coordinates to document coordinates. |
|
![]() |
Returns a DiagramBuilder object used to configure this Diagram instance. |
|
![]() |
Checks if the specified item can be modified interactively. |
|
![]() |
Checks if the specified item is locked. |
|
![]() |
Checks if the specified item is currently visible. |
|
![]() |
Iterates over diagram items of the desired type |
|
![]() |
Loads the diagram contents from a string. |
|
![]() |
Overloaded. |
|
![]() |
Measures a text taking into consideration the current affine transform of the diagram. |
|
![]() |
Adds the specified items and groups to the specified diagram document. |
|
![]() |
Raises the actionRedone event. |
|
![]() |
Raises the actionUndone event. |
|
![]() |
Raises the DiagramListener.cellTextEdited event. |
|
![]() |
Raises the cellTextEditing event to validate entering in-place editing mode. |
|
![]() |
Overloaded. |
|
![]() |
Raises the appropriate *Deleting (linkDeleting or nodeDeleting) event. |
|
![]() |
Overloaded. |
|
![]() |
Raises the DiagramListener.linkTextEdited event. |
|
![]() |
Raises the linkTextEditing event to validate entering in-place editing mode. |
|
![]() |
Raises the DiagramListener.nodeTextEdited event. |
|
![]() |
Raises the nodeTextEditing event to validate entering in-place editing mode. |
|
![]() |
Raises the treeCollapsed event. |
|
![]() |
Raises the treeExpanded event. |
|
![]() |
Raises the DiagramListener.treeItemTextEdited event. |
|
![]() |
Raises the DiagramListener.viewRemoved event. |
|
![]() |
Unregisters listener so that it will no longer receive diagram events. |
|
![]() |
Overloaded. |
|
![]() |
Overloaded. |
|
![]() |
Routes all links in the diagram so that they will not cross any node. |
|
![]() |
Overloaded. |
|
![]() |
Overloaded. |
|
![]() |
Overloaded. |
|
![]() |
Sets the active item. |
|
![]() |
Sets the zero-based index of the active layer. |
|
![]() |
Sets the size of selection handles. |
|
![]() |
Sets the pen used to draw alignment guides. |
|
![]() |
Sets a value indicating whether items should be aligned to the alignment grid while users draw them. |
|
![]() |
Sets a value indicating whether users are allowed to draw more than one links between the same nodes. |
|
![]() |
Sets whether multiple selected nodes can be resized simultaneously. |
|
![]() |
Sets whether users are allowed to draw reflexive links. |
|
![]() |
Sets whether link segments can be added and removed interactively. |
|
![]() |
Sets a value indicating whether users are allowed to attach links to nodes that do not have any anchor points. |
|
![]() |
Sets a value indicating whether users are allowed to draw unconnected links. |
|
![]() |
Sets the maximal horizontal or vertical distance at which a node aligns to the borders of other nodes. |
|
![]() |
Sets whether nodes should automatically align to the borders of other nodes during user interaction. |
|
![]() |
Sets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically. |
|
![]() |
Sets a value specifying whether the document scrollable area should be resized automatically when users draw items near the edges of the diagram. |
|
![]() |
Specifies the maximum distance at which links auto-snap to nodes. |
|
![]() |
Sets the default value for the AutoSnapToNode property of new links. |
|
![]() |
Sets the diagram's background brush. |
|
![]() |
Overloaded. |
|
![]() |
Sets how the background image should be positioned relatively to the scrollable area of the diagram. |
|
![]() |
Sets the URL of the background image. |
|
![]() |
Overloaded. |
|
![]() |
Sets the pen with which document bounds are drawn. |
|
![]() |
Sets the default style of the cell frames of new tables. |
|
![]() |
Sets the default value for the caption of containers. |
|
![]() |
Sets the default value for the caption height of containers. |
|
![]() |
Sets the default value for the HighlightPen of containers. |
|
![]() |
Sets the default value for the Margin attribute of containers. |
|
![]() |
Sets the default value for the minimum size of containers. |
|
![]() |
Sets the default value for the Foldable property of containers. |
|
![]() |
Sets the radius of the shapes drawn at link crossing points. |
|
![]() |
Sets the type of components that will be hosted by default in newly created ControlNode objects. |
|
![]() |
Sets the default shape that should be assigned to new nodes. The shape of individual nodes can be set by calling their ShapeNode.setShape method. |
|
![]() |
Overloaded. Lets you set or clear the diagram's modification flag. |
|
![]() |
Sets a value indicating whether links should automatically update their end points positions so that they will always point towards the node centers. |
|
![]() |
Sets whether lanes are enabled. |
|
![]() |
Sets a value indicating whether newly created nodes should display richly formatted text. |
|
![]() |
Sets what should happen when a user clicks the +/- button that is displayed near expandable nodes. |
|
![]() |
Sets where expand/collapse buttons are located relatively to their nodes. |
|
![]() |
Sets which direction of links is considered the tree direction when expanding or collapsing diagram branches. |
|
![]() |
Sets the size of folded containers. |
|
![]() |
Sets the default font for new diagram items. |
|
![]() |
Sets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too. |
|
![]() |
Sets an array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when Behavior is set to LinkFreeShapes or DrawFreeShapes. |
|
![]() |
Sets the color of the alignment grid. |
|
![]() |
Sets the horizontal offset of the first point of the alignment grid. |
|
![]() |
Sets the vertical offset of the first point of the alignment grid. |
|
![]() |
Sets the horizontal distance between grid points. |
|
![]() |
Sets the vertical distance between grid points. |
|
![]() |
Sets the appearance style of the alignment grid. |
|
![]() |
Sets a value indicating the order in which items are hit-tested. |
|
![]() |
Sets the default resolution of images. |
|
![]() |
|
|
![]() |
Sets what shape should be displayed at the origin of new links. |
|
![]() |
Sets the default size of the shape displayed at the origin of new links. |
|
![]() |
Sets the default brush that should be assigned to new links. |
|
![]() |
Sets the default orientation of the first segments of cascading links. |
|
![]() |
Sets what shapes should be drawn at the points where links cross. |
|
![]() |
Sets the default type of custom painting done on links. |
|
![]() |
Sets a value indicating users are allowed to move the end points of a link after the link is created. |
|
![]() |
Sets the style of selection handles that should be assigned to new links. |
|
![]() |
Sets what shape should be displayed as arrowhead of new links. |
|
![]() |
Sets the default size of the shape displayed as arrowhead of new links. |
|
![]() |
Sets what shape should be displayed at the middle of links segments. |
|
![]() |
Sets the default size of the shape displayed at the middle of links segments. |
|
![]() |
Sets the default pen that should be assigned to new links. |
|
![]() |
Sets the component used to find paths for auto-routed links when diagram nodes are added or their positions change. |
|
![]() |
Sets the style that should be assigned to new links. |
|
![]() |
Sets a value indicating whether new links are set to maintain their shapes while the nodes they connect are moved around. |
|
![]() |
Sets the default text that should be assigned to new links. |
|
![]() |
Sets the default placement and orientation of the links labels. |
|
![]() |
Sets the units for measuring of lengths and sizes. |
|
![]() |
Sets the maximum distance between adjacent control points of a link at which the respective segments can be merged. |
|
![]() |
Sets whether the tree branches that start from new nodes should be expandable by default. |
|
![]() |
Sets whether tree branches should be expanded recursively. |
|
![]() |
Sets a value indicating whether users are allowed to move items outside the currently define document bounds. |
|
![]() |
Sets a value indicating whether newly created links will automatically find their way between nodes. |
|
![]() |
Sets a value indicating whether newly created items should be selected automatically. |
|
![]() |
Sets a value indicating whether selected items should be drawn on top of the non-selected ones. |
|
![]() |
Sets the default brush used to paint the shadows cast by diagram items. |
|
![]() |
Sets the distance at which shadows are offset from the items that cast them. |
|
![]() |
Sets the default horizontal distance between shadows and the items that cast them. |
|
![]() |
Sets the default vertical distance between shadows and the items that cast them. |
|
![]() |
Sets the style of shadows. |
|
![]() |
Sets the default brush that should be assigned to new nodes. |
|
![]() |
Sets whether new nodes should be custom drawn and what type of custom drawing will be performed on them. |
|
![]() |
Sets the default value for the HandlesStyle property of new shape nodes. |
|
![]() |
Sets the default shape definition orientation angle assigned to new nodes. |
|
![]() |
Sets the default pen that should be assigned to new nodes. |
|
![]() |
Sets the default text to new nodes. |
|
![]() |
Sets a value indicating whether anchor points should be shown on screen. |
|
![]() |
Sets whether disabled manipulation handles will be displayed. |
|
![]() |
Sets a value indicating whether the alignment grid is displayed. |
|
![]() |
Sets whether selection handles of objects under the pointer are displayed while another object is being modified. |
|
![]() |
Sets a value indicating when links should snap to anchor points. |
|
![]() |
Sets the style associated with the diagram. |
|
![]() |
Sets the default brush that is assigned to new tables. |
|
![]() |
Sets the default caption text that should be assigned to new tables. |
|
![]() |
Sets the default height of the caption area of new tables. |
|
![]() |
Sets how many columns should be allocated to new tables. |
|
![]() |
Sets the default width of columns in newly created tables. |
|
![]() |
Sets how users are allowed to link tables to each other - as integral entities, by rows, or both. |
|
![]() |
Sets the style of selection handles that should be assigned to new tables. |
|
![]() |
Sets the default pen that should be assigned to new tables. |
|
![]() |
Sets how many rows should be allocated to new tables. |
|
![]() |
Sets the default height of rows in newly created tables. |
|
![]() |
Sets the default value of the Shape property of new tables. |
|
![]() |
Sets a value indicating whether users are allowed to scroll new tables. |
|
![]() |
Associates a custom data with this diagram. |
|
![]() |
Sets the default text color to be assigned to new items. |
|
![]() |
Sets the default format and alignment of the text of new items. |
|
![]() |
Sets the theme associated with the diagram. |
|
![]() |
Sets the tooltip text that is displayed when the pointer hovers over an unoccupied area of the diagram. |
|
![]() ![]() |
Returns a DiagramBuilder object used to configure and create new Diagram instances. |
Name | Description | |
---|---|---|
![]() |
Gets the effective value of the style property with the specified name. |