Represents a diagram node.
The following tables list the members exposed by the DiagramNode type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the DiagramNode class. |
Name | Description | |
---|---|---|
For internal use. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether users are allowed to draw incoming links to this node. |
||
Gets or sets a value indicating whether users are allowed to draw outgoing links from this node. |
||
Gets or sets the anchor points to which links are attached when connected to the node. |
||
Gets or sets the rectangle that defines the position of the diagram node. |
||
Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.) |
||
Allows applying constraints to the location and size of the node. |
||
Gets the effective brush of the item. (Inherited from DiagramItem.) |
||
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 a collection with all effects applied to this node. |
||
Gets or sets the kinds of modifications that end-users are permitted to perform on the node. |
||
Gets or sets a value indicating whether users are allowed to expand or collapse the subtree that starts from this node. |
||
Gets or sets a value indicating whether the subtree starting from this node is expanded. |
||
Gets or sets the font used to render the item's text. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating how the node adjustment handles behave and what do they look like. |
||
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 a collection of links that point to the 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.) |
||
Gets a reference to the group to which this node is attached. |
||
Gets or sets a value indicating whether this node is considered an obstacle by the link-routing algorithm. |
||
Gets a collection of links that start 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 rotation angle of this node. |
||
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 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.) |
||
DiagramItem.TopLevel override. |
||
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 | |
---|---|---|
Determines whether the node supports connections to its constituent elements. |
||
Returns the diagram measure unit. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Determines whether the node can be connected with links of the specified type. |
||
Adds the specified manipulator to this node. |
||
Overloaded. Attaches this node to another diagram item. |
||
Creates a copy of this item. (Inherited from DiagramItem.) |
||
Hides all nodes and links in the subtree starting from this node. |
||
Overloaded. |
||
Creates a connection point between this node and the specified link at the specified point. |
||
Detaches this node from its master item. |
||
Removes the specified manipulator from this node. |
||
Overloaded. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
DiagramItem.Draw override. Draws the item on the specified IGraphics surface. |
||
Draws the anchor points of this node. |
||
DiagramItem.DrawHandles override. Renders the adjustment handles of this item. |
||
Override in a derived class to provide implementation specific drawing for the node. |
||
DiagramItem.DrawShadow override. Draws the shadow of this item on the specified IGraphics surface. |
||
Override in a derived class to provide implementation specific drawing for the shadow of the node. |
||
Shows all nodes and links in the subtree starting from this node. |
||
Overloaded. |
||
Gets all links connected to this node. |
||
Gets the bounding rectangle of this item. (Inherited from DiagramItem.) |
||
Gets the center of this node's bounding rectangle. |
||
Returns the index of the anchor point that lies at the shortest distance from the specified point. |
||
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. |
||
Returns a point that lies on the outline of this node, at the shortest distance from the specified point. |
||
DiagramItem.GetOutlinePoly override. |
||
DiagramItem.GetRepaintRect override. |
||
Overloaded. Gets the bounding rectangle of this node or the bounding rectangle of another rectangle rotated at a specified angle around a specified point. |
||
Gets the rotation angle of this node. |
||
DiagramItem.GetToolTip override. |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
DiagramItem.HitTestHandle override. Determines whether a selection handle of this item is located at the specified point. |
||
DiagramItem.HitTestManipulators override. |
||
Determines whether the node intersects another one, taking into account the outlines of node shapes. |
||
Moves the node to the specified location. |
||
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.) |
||
Invoked when a diagram item is being dragged out of this node. |
||
Invoked when a diagram item is being dragged over this node. |
||
Invoked when a diagram item is dropped over this node. |
||
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.) |
||
Reassigns links to anchor points so that they are evenly distributed. |
||
Reassigns unanchored links |
||
Resizes the node. |
||
For internal use. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Sets the location and size of this node. |
||
Sets the 'expanded' flag, repainting the node. |
||
Sets the bounding rectangle of this node without updating connected arrows. |
||
This method is used internally by the Ruler control to align nodes. |
||
Invoked by running animations to update an item according to current animation progress. |
||
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.) |
||
DiagramItem.AllowCreate override. |
||
DiagramItem.AllowModify override. |
||
DiagramItem.CancelModify override. Invoked when the interactive modification of this object has been canceled. |
||
DiagramItem.CompleteCreate override. |
||
DiagramItem.CompleteModify override. |
||
Checks whether the KeepInsideParent constrained is being violated. |
||
DiagramItem.CreateProperties override. |
||
DiagramItem.CreateState override. |
||
Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.) |
||
DiagramItem finalizer. (Inherited from DiagramItem.) |
||
Called when the node is completely disassociated from a Diagram, that is, when it is no longer referenced from an item collection or the undo/redo history. |
||
Overloaded. |
||
Gets this node's bounding rectangle in local coordinates. |
||
Creates and returns a Region object for this node as though it is contained in the specified rectangle. |
||
Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.) |
||
Determines whether this node is a predecessor of the specified node in the group hierarchy. |
||
DiagramItem.LoadFrom override. |
||
Loads the node from a JSON object. |
||
DiagramItem.LoadFromXml override. |
||
For internal use. (Inherited from DiagramItem.) |
||
DiagramItem.OnAdd override. |
||
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.) |
||
DiagramItem.OnMeasureUnitChanged override. |
||
Invoked when the user moves or resizes this node. |
||
DiagramItem.OnRemove override. |
||
Invoked when the rotation angle of this node has been changed, either programmatically or interactively. |
||
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.) |
||
Overloaded. |
||
DiagramItem.OnZoomChanged override. |
||
Removes the specified manipulator from the object. (Inherited from DiagramItem.) |
||
Overloaded. (Inherited from DiagramItem.) |
||
DiagramItem.RestoreProperties override. |
||
DiagramItem.RestoreState override. |
||
DiagramItem.SaveProperties override. |
||
DiagramItem.SaveState override. |
||
Serializes the object to the specified writer. |
||
Saves the node as a JSON object. |
||
Saves the item content into an XML element. |
||
Scales the node's elements by specified amount. |
||
Marks the diagram as changed. (Inherited from DiagramItem.) |
||
Internally sets the expandable state of this object to the specified value, adding or removing an Expander manipulator object if necessary. |
||
DiagramItem.SetExpanded override. |
||
Sets the incoming links collection of this node. |
||
Sets the outgoing links collection of this node. |
||
Called during deserialization, after all objects have been instantiated, in order to update the references between them. |
||
Invoked to let a node set the shape of a reflexive link connected to it. |
||
Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.) |
||
Determines whether the node should render its anchor points. |
||
DiagramItem.StartCreate override. |
||
DiagramItem.StartModify override. Invoked when the user starts modifying this item interactively. |
||
DiagramItem.UpdateCreate override. |
||
Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.) |
||
Updates the intersection points of links, connected to this node and its outline, usually in response to change in the node's shape. |
||
Updates the end points of the links, connected to this node, usually in response to change in the node's size or shape. |
||
DiagramItem.UpdateModify override. Invoked during interactive modification of this item. |