Skip to content
New issue

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

Tree有办法可以方便的翻转所有边吗 #20

Closed
ShikiRyougi opened this issue Jun 14, 2017 · 1 comment
Closed

Tree有办法可以方便的翻转所有边吗 #20

ShikiRyougi opened this issue Jun 14, 2017 · 1 comment

Comments

@ShikiRyougi
Copy link

ShikiRyougi commented Jun 14, 2017

Tree 的direction 只能改变布局方向,没法改变边的指向,类似晋级赛这种图是从children指向parent的,现在g6有api实现这样的效果吗?
@leungwensen

@leungwensen
Copy link
Member

leungwensen commented Jun 15, 2017

目前没有针对晋级赛的图做定制,只能通过自定义边的方式来做: https://antv.alipay.com/g6/demo/06-other/custom-arrow.html 类似这样,画树边的时候 tree.edge().shape('customized-edge'); 把边的shape指定为自定义边就好了。

daniele-pini pushed a commit to daniele-pini/G6 that referenced this issue Oct 14, 2022
[INVE-18622] Update combo edge at the same time onDrag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants