Represents a link between two diagram nodes.
The following tables list the members exposed by the DiagramLink type.
Name | Description | |
---|---|---|
Initializes a new instance of the DiagramLink class between the specified nodes using the specified diagram link as a prototype. |
Name | Description | |
---|---|---|
Gets or sets whether this link should be automatically routed to avoid crossing nodes. |
||
Gets or sets an object that specifies how to fill link's baseShape. |
||
Gets or sets the arrowhead shape displayed at the link' start point. |
||
Gets or sets the size of the arrowhead displayed at the link's start point. |
||
Gets or sets an object specifying how to fill the interior of this item. (Inherited from DiagramItem.) |
||
Gets the parent ContainerNode containing this node. (Inherited from DiagramItem.) |
||
Gets or sets the control points of this link. |
||
Gets or sets the destination node of this link. |
||
Gets or sets the anchor point to which the link connects at its destination. |
||
Gets or sets the index of link's destination row when destination is a TableNode. |
||
Gets or sets whether link's end segments are automatically adjustedin order to keep pointing to the centers of the nodes it connects. |
||
Gets the effective brush that should be used to paint this item. (Inherited from DiagramItem.) |
||
Gets the effective brush that should be used to paint node's caption bar. (Inherited from DiagramItem.) |
||
Gets the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the name of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the size of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the style of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the effective opacity that should be used to paint this item. (Inherited from DiagramItem.) |
||
Gets the effective color that should be used to render this item's shadow. (Inherited from DiagramItem.) |
||
Gets the effective color that should be used to stroke this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash array that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash offset that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash pattern that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line thickness that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective text color that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the effective text color that should be used to render this item's text outline. (Inherited from DiagramItem.) |
||
Gets the effective width of the text outline of this item. (Inherited from DiagramItem.) |
||
Gets or sets the last control point of this link. |
||
Gets or sets the font used to render item's text. (Inherited from DiagramItem.) |
||
Gets an array of visual elements used to render this item on the canvas. (Inherited from DiagramItem.) |
||
Gets or sets an object that specifies how to fill link's headShape. |
||
Gets or sets the arrowhead shape displayed at the link' end point. |
||
Gets or sets the size of the arrowhead displayed at the link's end point. |
||
Gets or sets the brush used to stroke the outline of link's arrowheads. |
||
Gets or sets the dash pattern of arrowhead outlines. |
||
Gets or sets the thickness of arrowhead outlines. |
||
Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.) |
||
Gets or sets a custom 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 an object that specifies how to fill intermediateShape arrowheads. |
||
Gets or sets the arrowhead shape displayed at the middle of each segment of the link. |
||
Gets or sets the size of the arrowhead displayed at the middle of each segment of the link. |
||
Gets an object containing properties specific to individual layout algorithms. (Inherited from DiagramItem.) |
||
Gets or sets the vertical alignment of item's text. (Inherited from DiagramItem.) |
||
Gets or sets whether users are allowed to interact with this item. (Inherited from DiagramItem.) |
||
Gets or sets opacity of this item. (Inherited from DiagramItem.) |
||
Gets or sets the origin node of this link. |
||
Gets or sets the anchor point to which the link connects at its origin. |
||
Gets or sets the index of link's origin row when origin is a TableNode. |
||
Gets the Diagram to which this item belongs. (Inherited from DiagramItem.) |
||
Gets or sets the color used to stroke item's borders. (Inherited from DiagramItem.) |
||
Gets or sets the number of segments that form the link's geometry. |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the color used to draw item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the horizontal offset of item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the vertical offset of item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the type of link segments and how they are oriented relatively to each other. |
||
Gets or sets the first control point of this link. |
||
Gets or sets the color used to stroke item's frame. (Inherited from DiagramItem.) |
||
Gets or sets an array of values specifying the dash pattern. (Inherited from DiagramItem.) |
||
Gets or sets the the distance between the line start and the beginning of the dash pattern. (Inherited from DiagramItem.) |
||
Gets or sets the line dash pattern applied when stroking item's frame. (Inherited from DiagramItem.) |
||
Gets or sets the line width applied when stroking item's frame. (Inherited from DiagramItem.) |
||
Gets or sets the style associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets custom data tag associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets the text displayed by this link. |
||
Gets or sets the alignment of link's text. |
||
Gets or sets the color used to fill item's text. (Inherited from DiagramItem.) |
||
Gets the Text object instance used to render item's text. (Inherited from DiagramItem.) |
||
Gets or sets the padding distance between item's boundaries and text label. (Inherited from DiagramItem.) |
||
Gets or sets the color used to stroke item's text. (Inherited from DiagramItem.) |
||
Gets or sets the outline width of item's text. (Inherited from DiagramItem.) |
||
Gets or sets the placement and orientation of link's text. |
||
Gets or sets tooltip text that should be displayed when the mouse hovers over this item. (Inherited from DiagramItem.) |
||
Gets if this is a top-level item in the diagram. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.) |
||
Gets or sets a weight value used by layout and path-finding algorithms. (Inherited from DiagramItem.) |
||
Gets the z-order position of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Derived classes must implement this method by adding their graphics primitives to the canvas.elements collection. (Inherited from DiagramItem.) |
||
Adds a new label to this link. |
||
DiagramItem.allowDrag override. |
||
Animates the item. (Inherited from DiagramItem.) |
||
DiagramItem.clone override. |
||
DiagramItem.containsPoint override. |
||
DiagramItem.endDrag override. |
||
Deserializes this item from a JSON object. (Inherited from DiagramItem.) |
||
DiagramItem.fromJson override. |
||
Gets the length of the links |
||
Gets the repaint region for this item, taking into account factors such as pen width, selection handles and shadow. (Inherited from DiagramItem.) |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
Checks whether the link contour intersects with the outline of the specified node. |
||
Invalidates the region of the canvas, that matches the item's repaint bounds. (Inherited from DiagramItem.) |
||
DiagramItem.LoadFromXml override. Loads the link's content from an XML element. |
||
Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Returns a point lying on a polyline that is positioned at a relative position along the polyline's length. |
||
Places the link's end points on the outline of its origin and destination nodes. |
||
Derived classes must implement this method by removing their graphics primitives from the canvas.elements collection. (Inherited from DiagramItem.) |
||
Removes the specified label from this item. (Inherited from DiagramItem.) |
||
Removes the specified label from this link. |
||
DiagramItem.restoreLocationState override. |
||
DiagramItem.restoreState override. |
||
Loads the properties of this diagram item. (Inherited from DiagramItem.) |
||
Routes this link, regardless of whether the link's autoRoute property is enabled. |
||
DiagramItem.saveLocationState override. |
||
DiagramItem.saveState override. |
||
Saves the item's content into an XML element. |
||
Sets the destination node of this link. |
||
Splits the link segment with the specified index at the specified point. |
||
DiagramItem.startDrag override. |
||
DiagramItem.toJson override. |
||
Updates the elements on the HTML Canvas. |
||
DiagramItem.updateDrag override. |
||
Updates the link's internal state after the link's control points have been changed. |