jsPlumb: how to make Flowchart connectors avoid intersecting elements?

后端 未结 4 1654
一整个雨季
一整个雨季 2021-01-31 19:33

Is it possible to make jsPlumb Flowchart connectors not to cross connectable items or specified elements (in the example: elements with \'item\' class)?

Default Flowchar

4条回答
  •  眼角桃花
    2021-01-31 20:08

    I've tried out the above options and if you just want a simple solution without adding middle nodes, the following worked for me:

    connector: ["Flowchart", { anchors: ["Bottom", "Top"] }]
    

    Add those params on your connect.

提交回复
热议问题