We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
需求背景:画布的连线模式希望由用户配置,在画布渲染之后,可以支持切换为 'manhattan' 或者 'normal' 的路由。
目前看文档,x6 router 只支持在初始化 new Graph 时配置,不支持动态设置
期望提供 graph.setRouter 的 api
The text was updated successfully, but these errors were encountered:
暂时没有全局更新的方法,不过可以支持通过 edge 来单独更新。
// http://x6.antv.antgroup.com/api/model/edge#setrouter edge.setRouter(xx)
Sorry, something went wrong.
暂时没有全局更新的方法,不过可以支持通过 edge 来单独更新。 // http://x6.antv.antgroup.com/api/model/edge#setrouter edge.setRouter(xx)
嗯嗯,看到文档了。edge.setRouter(xx) 只能修改“已渲染” edge 的路由。没办法实现,“新拽出来线”是新设置的路由
新拖出来的线可以在 createEdge 配置中重新配置路由。
This thread has been automatically locked because it has not had recent activity.
Please open a new issue for related bugs and link to relevant comments in this thread.
No branches or pull requests
功能描述
需求背景:画布的连线模式希望由用户配置,在画布渲染之后,可以支持切换为 'manhattan' 或者 'normal' 的路由。
目前看文档,x6 router 只支持在初始化 new Graph 时配置,不支持动态设置
期望解决方案
期望提供 graph.setRouter 的 api
The text was updated successfully, but these errors were encountered: