Search results

IElementDrawEventArgs API in Angular Diagram API component

elementDraw triggered when node or connector are drawn with drawing tool

Properties

cancel

boolean

returns whether to cancel the drawing shape or connector in the start state

elementType

string

returns the node shape name or connector type

objectType

string

returns the node or connector about to be drawn

source

NodeModel | ConnectorModel

returns the node or connector which we draw with drawing tool

state

State

returns the state of drawing tool event