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

关于d3.v4中的集群图的改动 #17

Open
ckinmind opened this issue May 8, 2017 · 1 comment
Open

关于d3.v4中的集群图的改动 #17

ckinmind opened this issue May 8, 2017 · 1 comment
Labels

Comments

@ckinmind
Copy link
Owner

ckinmind commented May 8, 2017

参考资料:

@ckinmind ckinmind added the d3.v4 label May 8, 2017
@mdshohelrana
Copy link

For version 4
function diagonal(s, d) { var path = 'M ' + s.y + ' ' + s.x + ' C ' + ' ' + (s.y + d.y) / 2 + ' ' + s.x + ',' + ' ' + (s.y + d.y) / 2 + ' ' + d.x + ',' + d.y + ' ' + d.x; return path; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants