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

3.0.7版本edge设置shape: "polyline"无效 #13

Closed
zuolinya opened this issue Nov 25, 2019 · 5 comments
Closed

3.0.7版本edge设置shape: "polyline"无效 #13

zuolinya opened this issue Nov 25, 2019 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@zuolinya
Copy link

3.0.7版本edge设置shape: "polyline"无效,另外npm install 直接给默认了一个^3.0.7-beta.1,目前稳定的版本是哪个

@pomelo-nwu
Copy link
Member

graphin现在依赖G6的版本是3.1.9 . 我刚用codesandbox测试了下:https://codesandbox.io/s/quirky-thompson-352xw 。shape为 cubic ,quadratic, arc为正常shape,有问题的shape 为loop polyline 。我们这边尽快定位下问题

@pomelo-nwu
Copy link
Member

@baizn 聚则哥,帮忙看下G6的问题

@pomelo-nwu pomelo-nwu added the bug Something isn't working label Nov 25, 2019
@baizn
Copy link
Contributor

baizn commented Nov 26, 2019

3.0.7 还没有 polyline 类型,这个是3.1.0以后才加的。

@zuolinya
Copy link
Author

更新到了3.2.1,这个属性生效了,但是添加 linkCenter: true,direction: "LR",线只是位置都到上面了,错乱了。

@zxc0328
Copy link
Member

zxc0328 commented Nov 29, 2019

更新到了3.2.1,这个属性生效了,但是添加 linkCenter: true,direction: "LR",线只是位置都到上面了,错乱了。

这个问题可以去 G6 提 issue,带上复现的 CodeSandbox 就可以。这边先关了。

@zxc0328 zxc0328 closed this as completed Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants