X6
X6 copied to clipboard
x6 支持使用组件来自定义一个边吗?
功能描述
类似vue flow中自定义连接线的能力? https://vueflow.dev/examples/edges/connection-line.html
期望解决方案
类似注册自定义节点?🤔
👋 @qoiii
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
你注册一个自定义组件, width 是minWidth: 100px(只是示意), width: auto; height: 1px , 这样就是一个线条的组件了。
@qoiii 主要看 X6 内置的连线是否能满足需求,不满足的情况是什么,再来看是否需要家自定义吧,目前也是有一些边自定义能力。