alibaba / butterfly

🦋Butterfly,A JavaScript/React/Vue2 Diagramming library which concentrate on flow layout field. (基于JavaScript/React/Vue2的流程图组件)
https://butterfly-dag.gitee.io/butterfly-dag/home
MIT License
4.48k stars 603 forks source link

线:曼哈顿连线是覆盖节点 #927

Open YangGuoXuan-0503 opened 1 year ago

YangGuoXuan-0503 commented 1 year ago

The current behavior

两个节点间连线,选取曼哈顿线时,会覆盖第三个节点

The expected behavior

两个节点间连线,选取曼哈顿线时,生成折现,绕过第三个节点

environment(such as: Butterfly version、Browser version、OS and so on)

https://butterfly-dag.gitee.io/butterfly-dag/demo/react

noonnightstorm commented 1 year ago

v4版本的确不会避障,小蝴蝶v5才会有这个feature,v5还在内测中,v5的“AdvancedManhattan”类型会支持避障

YangGuoXuan-0503 commented 1 year ago

thanks,我自己实现了。