VirtualNode
open class VirtualNode : DiagramNode
Represents a virtual DiagramNode used by unconnected links. This class inherits DiagramNode.
-
Represents a new instance of the VirtualNode class.
Declaration
Swift
public static var instance: VirtualNode
-
Creates a connection point between this virtual node and the specified DiagramLink at the specified point.
Declaration
Swift
open override func createConnectionPoint( _ link: DiagramLink, point: Point, incoming: Bool) -> ConnectionPoint
Parameters
link
A DiagramLink that should be connected to this node.
pt
The point at which the link should be connected.
incoming
true if link is an incoming link, otherwise, false.
Return Value
A ConnectionPoint instance representing the connection.