Docs

connect

Emitted when a new connection is successfully created between ports.

CategoryEdge Events
Typeoutput<{ source: string; sourceHandle?: string; target: string; targetHandle?: string }>

Usage

Example
<ngx-workflow-diagram
  (connect)="onConnect($event)"
/>

// Prefer (edgesChange) for controlled edge state —
// (connect) is a convenience event with the new link payload.

Interactive example

Diagram canvas

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

Event log

No events logged yet.