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
nodeA TreeViewNode instance.
linkA DiagramLink instance.
incomingSpecifies which end of the link is represented by this TreeViewConnectionPoint.
itemThe 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
TreeViewConnectionPoint Class Reference