Search results

IElementDrawEventArgs API in Vue 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

string

returns the state of drawing tool event