DrawNodesBehavior

open class DrawNodesBehavior : BehaviorBase

Drawing on the screen creates TemplatedNode instances.

  • Initializes a new instance of the DrawNodesBehavior class with the specified DiagramView and node type. Inherits BehaviorBase.

    Declaration

    Swift

    public init(diagramView: DiagramView, nodeType: NSObject.Type)

    Parameters

    diagamView

    The DiagramView to use with this behavior.

    nodeType

    The type of nodes to create.

    Return Value

    A new instance of the DrawNodesBehavior class.