TreeViewConnectionPoint

open class TreeViewConnectionPoint : ConnectionPoint

Represents a connection between a link and a TreeViewNode. This class inherits ConnectionPoint

  • Initializes a new instance of the TreeViewConnectionPoint class.

    Declaration

    Swift

    public init(node: DiagramNode, link: DiagramLink, incoming: Bool, item: TreeViewItem?)

    Parameters

    node

    A TreeViewNode instance.

    link

    A DiagramLink instance.

    incoming

    Specifies which end of the link is represented by this TreeViewConnectionPoint.

    item

    The TreeViewItem to which the link connects.

    Return Value

    The newly initialized TreeViewConnectionPoint class.

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

    Declaration

    Swift

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

    Declaration

    Swift

    open override func removeLinkFromNode()
  • Gets the position of this TreeViewConnectionPoint from the node.

    Declaration

    Swift

    open override func positionFromNode() -> Point