Search
TableConnectionPoint Members
Properties Methods
 


A class that represents a connection between an edge and a node in a graph.

The following tables list the members exposed by the TableConnectionPoint type.

 Public Properties

  Name Description

endPoint

Calculates the coordinates of this connection point expressed in document coordinates.

RelativePosition

Gets or sets the position of this connection point, relative to the associated node's bounding rectangle, expressed in percents. (Inherited from ConnectionPoint.)

Row

Gets the index of a constituent item within the associated node where the link represented by this connection point is connected, or -1, if the link is connected to the node itself. (Inherited from ConnectionPoint.)

 Protected Properties

  Name Description

Incoming

Gets a flag indicating whether this connection point is at the origin or the destination of the associated link. (Inherited from ConnectionPoint.)

Link

Gets the link associated with this connection point. (Inherited from ConnectionPoint.)

Node

Gets the node associated with this connection point. (Inherited from ConnectionPoint.)

 Public Methods

  Name Description

addLinkToNode

Adds the link associated with this connection point to the associated node.

AddLinkToNode

Adds the link associated with this connection point to the associated node. (Inherited from ConnectionPoint.)

CalculateIntersections

Determines whether the end of a link should be aligned to the point where the node contour is intersected by the line connecting the centers of the connected nodes. (Inherited from ConnectionPoint.)

CanMoveLink

Checks whether the specified point, expressed in document coordinates, is a valid location for this connection point. (Inherited from ConnectionPoint.)

GetAnchorPos

Overloaded.   (Inherited from ConnectionPoint.)

GetEndPoint

Calculates the coordinates of the this connection point expressed in document coordinates. (Inherited from ConnectionPoint.)

getInitialPoint

Returns a point (usually the center of the bounding rectangle) contained within the associated node.

GetInitialPoint

Returns a point (usually the center of the bounding rectangle) contained within the associated node. (Inherited from ConnectionPoint.)

getIntersection

Calculates the intersection point between the specified line segment and the contour of the node associated with this connection point.

GetIntersection

Calculates the intersection point between the specified line segment and the contour of the node associated with this connection point. (Inherited from ConnectionPoint.)

getNearestBorderPoint

Returns the nearest point lying on the node border.

GetNodeRect

Returns the bounding rectangle of the node associated with this connection point. (Inherited from ConnectionPoint.)

linkChanges

Checks whether the link would change if attached to the specified node at the specified point.

LinkChanges

Checks whether the relationship represented by the associated link would change if the link is attached to the specified node at the specified point. (Inherited from ConnectionPoint.)

NearestAnchorPoint

Returns the anchor point closest to the specified point from the node's associated anchor pattern. (Inherited from ConnectionPoint.)

NodesIntersect

Checks whether the node associated with the current connection point and the node associated with the specified connection point intersect. (Inherited from ConnectionPoint.)

removeLinkFromNode

Removes the link associated with this connection point from the associated node.

RemoveLinkFromNode

Removes the link associated with this connection point from the associated node. (Inherited from ConnectionPoint.)

SameNode

Checks whether the current connection point and the specified connection point are associated with the same node. (Inherited from ConnectionPoint.)

saveEndRelative

Updates the coordinates of the connection point represented by this link, relative to the bounding rectangle of the associated node.

SaveEndRelative

Updates the coordinates of the connection point represented by this link, relative to the bounding rectangle of the associated node. (Inherited from ConnectionPoint.)

 Protected Methods

  Name Description

GetClassId

Returns unique id number for this class. (Inherited from ConnectionPoint.)

GetNearestBorderPoint

Returns the nearest point lying on the node border. (Inherited from ConnectionPoint.)

LoadFrom

Deserializes the object from the specified reader. (Inherited from ConnectionPoint.)

SaveTo

Serializes the object to the specified writer. (Inherited from ConnectionPoint.)

SetReference

Updates the reference to the specified object. (Inherited from ConnectionPoint.)

UpdateFromPoint

Updates the connection state according to the specified point, without changing the related node. (Inherited from ConnectionPoint.)

 See Also