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) -> ConnectionPointParameters
linkA DiagramLink that should be connected to this node.
ptThe point at which the link should be connected.
incomingtrue if link is an incoming link, otherwise, false.
Return Value
A ConnectionPoint instance representing the connection.
VirtualNode Class Reference