1 link for each pair of node

Hi , i have a question

In the example http://gojs.net/latest/samples/flowchart.html, how can i set there should be max 1 link between 2 nodes?


I assume you are talking about links collectively between all of the ports on one node and all of the ports on another node. Not just from one port to another port.

There isn’t any property that you can set for that. You will need to implement a link validation predicate and assign LinkingTool.linkValidation and RelinkingTool.linkValidation.

For more info, read Validation.