Docs

paneClick

Emitted when the empty canvas (pane) is clicked. Includes graph-space position.

CategoryGlobal Events
Typeoutput<{ event: MouseEvent; position: XYPosition }>

Usage

Example
<ngx-workflow-diagram (paneClick)="onPaneClick($event)" />

Interactive example

Diagram canvas

Interact with nodes and edges. Drag port-to-port to fire connect events.

Event log

No events logged yet.