TableConnectionPoint

open class TableConnectionPoint : ConnectionPoint

Represents a connection between a link and a table node. This class inherits ConnectionPoint.

  • Initializes a new instance of the TableConnectionPoint class with the specified paramters.

    Declaration

    Swift

    public override init(node: DiagramNode, link: DiagramLink, incoming: Bool)

    Parameters

    node

    The DiagramNode from which the link starts.

    link
    incoming

    true if link is incoming; otherwise false.

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

    Declaration

    Swift

    open override func addLinkToNode()
  • Removes the link associated with this connection point from the associated node. Inherited from ConnectionPoint.

    Declaration

    Swift

    open override func removeLinkFromNode()
  • Aligns the link to the node in the specified point.

    Declaration

    Swift

    open override func alignToNode(_ point: Point)

    Parameters

    point

    The point where the link should be aligned.

  • Saves the position of this connection point relative to the bounds of the table row’s bounding rectangle.

    Declaration

    Swift

    open override func saveRelativePosition()
  • Gets the position of this connection point relative to the bounding rectangle of the table row.

    Declaration

    Swift

    open override func positionFromNode() -> Point

    Return Value

    The position.