DrawLinksBehavior

open class DrawLinksBehavior : BehaviorBase

Drawing started over a node creates a DiagramLink. Otherwise a lasso rectangle is displayed allowing the selection of items. Inherits BehaviorBase.

  • Initializes a new instance of the DrawLinksBehavior class with the specified DiagramView and link type.

    Declaration

    Swift

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

    Parameters

    diagamView

    The DiagramView to use with this behavior.

    linkType

    The type of links to create.

    Return Value

    A new instance of the DrawLinksBehavior class.