DiagramNode is an abstract base class from which specific types such as ShapeNode and TableNode derive. DiagramNode instances can represent graph vertices, nodes in organizational or flow diagrams, entities in ER diagrams, and so on.
The following tables list the members exposed by the DiagramNode type.
Name | Description | |
---|---|---|
Initializes a new instance of the DiagramNode class. |
Name | Description | |
---|---|---|
For internal use. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Gets or sets whether users are allowed to draw incoming links to this node. |
||
Gets or sets whether users are allowed to draw outgoing links from this node. |
||
Gets or sets the anchor points to which links attach when connected to this node. |
||
Returns the nodes attached to this node. |
||
Gets or sets a rectangle that defines the position of this node. |
||
Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.) |
||
Gets the center of this node's bounding rectangle. |
||
Gets the effective brush of the item. (Inherited from DiagramItem.) |
||
Gets the effects applied to this node. |
||
Gets the currently effective font of the item. (Inherited from DiagramItem.) |
||
Gets the effective pen of the item. (Inherited from DiagramItem.) |
||
Gets the effective shadow brush of the item. (Inherited from DiagramItem.) |
||
Gets the effective text brush of the item. (Inherited from DiagramItem.) |
||
Gets the effects applied to this node. |
||
Gets or sets a value indicating which adjustment handles are enabled for this node. |
||
Gets or sets whether users are allowed to expand or collapse the subtree rooted at this node. |
||
Gets or sets whether the subtree rooted at this node is expanded. |
||
Gets or sets the font used to render the item's text. (Inherited from DiagramItem.) |
||
Gets or sets a value specifying appearance and behavior of node's adjustment handles. |
||
Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.) |
||
Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.) |
||
Gets the incoming links to this node. |
||
Gets or sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with a layer. (Inherited from DiagramItem.) |
||
Contains layout properties of the node, used by some layout algorithms and by DiagramView3D. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.) |
||
Returns the node to which this node is attached. |
||
Gets or sets whether this node is considered an obstacle by link routing algorithms. |
||
Gets the outgoing links from this node. |
||
Gets the diagram that contains this item. (Inherited from DiagramItem.) |
||
Gets or sets the pen used to paint the frame of the item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether to print the item. (Inherited from DiagramItem.) |
||
Gets or sets the angle at which this node is rotated. |
||
For internal use. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the brush used to paint the item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the horizontal offset of the shadow of this item. (Inherited from DiagramItem.) |
||
Gets or sets the vertical offset of the shadow of this item. (Inherited from DiagramItem.) |
||
Gets or sets whether this node displays a delete button. |
||
Gets or sets the style associated with the item. (Inherited from DiagramItem.) |
||
Gets a reference to the group of items that are attached to this one. (Inherited from DiagramItem.) |
||
Gets or sets user-defined data associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets the text displayed by this item. (Inherited from DiagramItem.) |
||
Gets or sets the brush used to paint texts inside the item. (Inherited from DiagramItem.) |
||
Gets or sets the alignment of text displayed inside this item. (Inherited from DiagramItem.) |
||
Gets or sets the spacing between the item boundaries and its text. (Inherited from DiagramItem.) |
||
Gets or sets a short text message displayed when the mouse pointer rests over the diagram element. (Inherited from DiagramItem.) |
||
True if this is a top-level item in the diagram, or false if it is inside a container. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.) |
||
Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.) |
||
Gets or sets the z-order position of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Returns the diagram measure unit. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Determines whether the node can be connected with links of the specified type. |
||
DiagramItem.allowDrag override. |
||
Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it. |
||
Attaches this node to the specified master node so that when the master is moved, the attached node follows it. |
||
DiagramItem.clone override. |
||
Creates a copy of this item. (Inherited from DiagramItem.) |
||
DiagramItem.containsPoint override. |
||
Overloaded. Determines whether this item contains the specified point. (Inherited from DiagramItem.) |
||
Creates a connection point between this node and the specified link at the specified point. |
||
Detaches this node from its current master node. |
||
Overloaded. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Draws the item on the specified IGraphics surface. (Inherited from DiagramItem.) |
||
Renders the adjustment handles of this item. (Inherited from DiagramItem.) |
||
Draws the shadow of this item on the specified IGraphics surface. (Inherited from DiagramItem.) |
||
DiagramItem.endDrag override. |
||
DiagramItem.fromJson override. |
||
Returns all links connected to this node. |
||
Gets the bounding rectangle of this item. (Inherited from DiagramItem.) |
||
Creates a System.Drawing.Brush object representing the currently effective brush of the item. (Inherited from DiagramItem.) |
||
Creates a System.Drawing.Pen object representing the currently effective pen of the item. (Inherited from DiagramItem.) |
||
Creates a System.Drawing.Brush object representing the currently effective shadow brush of the item. (Inherited from DiagramItem.) |
||
Creates a System.Drawing.Brush object representing the currently effective text brush of the item. (Inherited from DiagramItem.) |
||
Calculates the intersection point between the segment defined by the specified point pair and the node's outline. |
||
Gets the bounding rectangle of this node. |
||
Gets a polygon approximating the outline of this object. (Inherited from DiagramItem.) |
||
Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow. (Inherited from DiagramItem.) |
||
Gets the bounding rectangle of this item when it is rotated. |
||
Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramItem.) |
||
Gets the tooltip that should be displayed for this item at the specified point. (Inherited from DiagramItem.) |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
Determines whether a selection handle of this item is located at the specified point. (Inherited from DiagramItem.) |
||
Finds the Manipulator object located at the specified point. (Inherited from DiagramItem.) |
||
DiagramItem.loadFromXml override. Loads the node's content from an XML element. |
||
Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.) |
||
Gets a flag indicating whether this object is being currently modified interactively by the user. (Inherited from DiagramItem.) |
||
Called after successful deserialization. (Inherited from DiagramItem.) |
||
Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.) |
||
Raises an event which notifies that a node has been clicked. |
||
Raises an event which notifies that a node has been double-clicked. |
||
DiagramItem.removeCanvasElements override. |
||
For internal use. (Inherited from DiagramItem.) |
||
DiagramItem.restoreLocationState override. |
||
DiagramItem.restoreState override. |
||
For internal use. (Inherited from DiagramItem.) |
||
DiagramItem.saveLocationState override. |
||
DiagramItem.saveState override. |
||
Saves the item content into an XML element. |
||
Sets the rectangle that defines the position of the diagram node. |
||
DiagramItem.toJson override. |
||
DiagramItem.updateDrag override. |
||
Moves the item to the bottom of the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level down in the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level up in the z-order. (Inherited from DiagramItem.) |
||
Moves the item to the top of the z-order. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Adds the specified manipulator to this object. (Inherited from DiagramItem.) |
||
Invoked during interactive creation of items to test whether the operation can be completed in the current context. (Inherited from DiagramItem.) |
||
Invoked during interactive modification of items to test whether the operation can be completed in the current context. (Inherited from DiagramItem.) |
||
Invoked when the interactive modification of this object has been canceled. (Inherited from DiagramItem.) |
||
Invoked when the item creation has been completed. (Inherited from DiagramItem.) |
||
Invoked when the item modification has been completed. (Inherited from DiagramItem.) |
||
Creates an item property set corresponding to the type of this diagram item. (Inherited from DiagramItem.) |
||
Creates an item state corresponding to the type of this diagram item. (Inherited from DiagramItem.) |
||
Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.) |
||
DiagramItem finalizer. (Inherited from DiagramItem.) |
||
Called when the item is completely disassociated from a Diagram, that is, when it is no longer referenced from an item collection or the undo/redo history. (Inherited from DiagramItem.) |
||
Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.) |
||
Deserializes the item from the specified reader. (Inherited from DiagramItem.) |
||
Loads the item from a JSON object. (Inherited from DiagramItem.) |
||
Loads the item content from an XML element. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Called when a group child node has been modified. (Inherited from DiagramItem.) |
||
Invoked when the user clicks this item. (Inherited from DiagramItem.) |
||
Invoked when the user double-clicks this item. (Inherited from DiagramItem.) |
||
Called when the diagram's MeasureUnit changes. (Inherited from DiagramItem.) |
||
Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Invoked when the associated style or theme have changed. (Inherited from DiagramItem.) |
||
Called when the value of the Text property changes. (Inherited from DiagramItem.) |
||
Called when the value of the TextFormat property changes. (Inherited from DiagramItem.) |
||
Called when the diagram's ZoomFactor changes. (Inherited from DiagramItem.) |
||
Removes the specified manipulator from the object. (Inherited from DiagramItem.) |
||
Overloaded. (Inherited from DiagramItem.) |
||
Restores the properties of this diagram item. (Inherited from DiagramItem.) |
||
Restores the state of this diagram item. (Inherited from DiagramItem.) |
||
Saves the properties of this diagram item. (Inherited from DiagramItem.) |
||
Saves the state of this diagram item. (Inherited from DiagramItem.) |
||
Serializes the item to the specified writer. (Inherited from DiagramItem.) |
||
Saves the item as a JSON object. (Inherited from DiagramItem.) |
||
Saves the item content into an XML element. (Inherited from DiagramItem.) |
||
Marks the diagram as changed. (Inherited from DiagramItem.) |
||
Sets whether the item is in expanded or collapsed state. (Inherited from DiagramItem.) |
||
Called during deserialization, after all objects have been instantiated, in order to update the references between them. (Inherited from DiagramItem.) |
||
Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.) |
||
Invoked once when the user starts creating a new item interactively. (Inherited from DiagramItem.) |
||
Invoked when the user starts modifying this item interactively. (Inherited from DiagramItem.) |
||
Invoked during interactive creation of this item. (Inherited from DiagramItem.) |
||
Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.) |
||
Invoked during interactive modification of this item. (Inherited from DiagramItem.) |