Docs
connectionValidator
Global custom validator for new connections (node ids only).
Example
<ngx-workflow-diagram
[connectionValidator]="(s, t) => s !== t"
/>Interactive preview
Try the diagram (drag ports to connect):
Diagram canvas
ngx-workflow-diagram