Yanyan Wang

Results 296 comments of Yanyan Wang

anchorPoints 了解一下哈 https://g6.antv.antgroup.com/manual/middle/elements/nodes/anchorpoint

用 force2 布局,可以调整 nodeSize 大一些,这样节点间距比较大。目前没有节点和边之间相互避让的方式。

你的例子中写死了直线,所有边的路径都一样,一定会重叠的。可以用贝塞尔曲线加渐变色 https://codesandbox.io/s/broken-glade-u6hzfr

可以在 github 交流,交流群人满了,里面也没有提供答疑哈