Represents a link between two diagram nodes.
The following tables list the members exposed by the DiagramLink type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the DiagramLink class. |
Name | Description | |
---|---|---|
For internal use. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether the user is allowed to move the end point of a link. |
||
Gets or sets a value indicating whether the user is allowed to move the first control point of a link. |
||
Gets or sets a value indicating whether a link should avoid nodes by going the shortest path from its origin to its destination without crossing any other nodes. |
||
Specifies whether a link end point should automatically snap to the nearest diagram node while the user moves the point's adjustment handle. |
||
Gets or sets a brush used to fill the arrowhead drawn at the link base. |
||
Gets or sets what shape to display at the beginning of a link. |
||
Gets or sets the size of the BaseShape shape. |
||
Gets the size of the rectangle that bounds this link. |
||
Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.) |
||
Gets or sets the orientation of the first segment of a cascading link. |
||
Gets a collection of the control points of this link. |
||
Gets or sets the radius length of decorations displayed at intersection points of this link. |
||
Gets or sets the type of custom drawing performed on this link. |
||
Gets or sets the destination node of this link. |
||
Gets or sets the index of the destination anchor point within the AnchorPattern that contains it. |
||
Gets or sets the ConnectionPoint object representing the link connection to its destination node. This allows connecting the link to a constituent part of a node, such as a TableNode row or a TreeViewItem. |
||
Gets or sets the index of link's destination anchor point or table row. |
||
Gets or sets a value indicating whether the points where this link crosses other links should be drawn as arcs or dashes. |
||
Gets or sets a value indicating whether a link automatically adjusts its end points positions in order to keep pointing to the centers of nodes that it connects. |
||
Gets the effective brush of the item. (Inherited from DiagramItem.) |
||
Gets the currently effective font of the item. (Inherited from DiagramItem.) |
||
Gets the effective head pen of the link. |
||
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 or sets the last control point of a link. |
||
DiagramItem.Font override. |
||
Gets or sets the appearance of the link's selection handles. |
||
Gets or sets a brush used to fill the arrowhead drawn at the link's destination. |
||
Gets or sets the pen to use when painting arrowheads lines. |
||
Gets or sets the shape of this link's arrowhead. |
||
Gets or sets the size of the arrowhead shape. |
||
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 or sets a brush used to fill the arrowheads drawn at the middle of link segments. |
||
Gets or sets the shape displayed at the middle of each segment of the link. |
||
Gets or sets the size of the IntermediateShape shape. |
||
Gets a value indicating whether the link is connected to nodes at both its ends. |
||
Returns the list of all labels displayed by this link. |
||
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 the length of the link. |
||
Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.) |
||
Gets or sets the opacity of this item. (Inherited from DiagramItem.) |
||
Gets or sets the origin node of the link. |
||
Gets or sets the index of the origin anchor point within the AnchorPattern that contains it. |
||
Gets or sets the ConnectionPoint object representing the link connection to its origin node. This allows connecting the link to a constituent part of a node, such as a TableNode row or a TreeViewItem. |
||
Gets or sets the index of link's origin anchor point or table row. |
||
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 a value indicating whether a link should maintain its form if the nodes connected with that link are moved around. |
||
For internal use. (Inherited from DiagramItem.) |
||
Gets or sets the number of segments of this link. |
||
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 type of link segments and how they are positioned relatively to each other. |
||
Gets or sets the first control point of a link. |
||
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 over a link. |
||
Gets or sets the link's text placement and orientation. |
||
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 the link's text placement and orientation. |
||
Gets or sets a short text message displayed when the mouse pointer rests over the diagram element. (Inherited from DiagramItem.) |
||
DiagramItem.TopLevel override. |
||
DiagramItem.Visible override. |
||
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 | |
---|---|---|
Overloaded. Adds a label to this link. |
||
Animates the item. (Inherited from DiagramItem.) |
||
Creates a copy of this link. |
||
Overloaded. |
||
Overloaded. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Draws the link on the specified IGraphics surface. |
||
Draws an arrowhead shape. |
||
DiagramItem.DrawHandles override. Renders the adjustment handles of this item. |
||
Draws the shadow of this link on the specified IGraphics surface. |
||
Overloaded. |
||
Creates a Brush object representing the currently effective brush of the item. (Inherited from DiagramItem.) |
||
Returns a Pen object representing the currently effective head pen of the link. |
||
Returns a Pen object representing the currently effective pen of the item. (Inherited from DiagramItem.) |
||
Returns a Brush object representing the currently effective shadow brush of the item. (Inherited from DiagramItem.) |
||
Returns a Brush object representing the currently effective text brush of the item. (Inherited from DiagramItem.) |
||
Returns the index of the longest horizontal segment of this link. |
||
DiagramItem.GetOutlinePoly override. |
||
DiagramItem.GetRepaintRect override. |
||
DiagramItem.GetRotatedBounds override. |
||
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.) |
||
DiagramItem.HitTestHandle override. Determines whether a selection handle of this item is located at the specified point. |
||
Finds the Manipulator object located at the specified point. (Inherited from DiagramItem.) |
||
Overloaded. |
||
Returns the label whose layout rectangle contains the specified point. |
||
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.) |
||
DiagramItem.OnLoad override. |
||
Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.) |
||
Attaches the link end points to the anchor points defined for the link's origin and destination nodes. |
||
Removes the specified label from this link. |
||
For internal use. (Inherited from DiagramItem.) |
||
Routes this link, regardless of whether the link's AutoRoute flag is enabled. |
||
For internal use. (Inherited from DiagramItem.) |
||
Sets the origin and destination links of this link. |
||
Invoked by running animations to update an item according to current animation progress. |
||
Overloaded. Updates the link's internal state after the link's control points have been changed. |
||
Aligns the link ends to the contour of the nodes it connects. |
||
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. |
||
DiagramItem.CompleteCreate override. |
||
DiagramItem.CompleteModify override. |
||
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 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.) |
||
Loads the link from a JSON object. |
||
Loads the link content from an XML element. |
||
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. |
||
Invoked when the user moves any control point of the link. |
||
Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Diagramitem.OnStyleChanged override. |
||
DiagramItem.OnTextChanged override. |
||
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.) |
||
DiagramItem.RestoreProperties override. |
||
DiagramItem.RestoreState override. |
||
DiagramItem.SaveProperties override. |
||
DiagramItem.SaveState override. |
||
Saves the link as a JSON object. |
||
Saves the link content into an XML element. |
||
Marks the diagram as changed. (Inherited from DiagramItem.) |
||
Sets whether the item is in expanded or collapsed state. (Inherited from DiagramItem.) |
||
Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.) |
||
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.) |
||
DiagramItem.UpdateModify override. |