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

The graph view sometimes places vertices at the fringe of the canvas. #126

Open
pstutz opened this issue May 24, 2013 · 1 comment
Open

Comments

@pstutz
Copy link
Member

pstutz commented May 24, 2013

Is that intentional or would it be hard to place them more centrally?

@cshapeshifter
Copy link
Contributor

How the vertices are placed is up to d3, although we use a default gravity (https://github.com/mbostock/d3/wiki/Force-Layout#wiki-gravity) of 0.1. This causes the vertices to be drawn towards the center of the layout, and by default, the entire graph is loaded in the center. I'm not sure what problem you're experiencing but it could be that it's a bug in d3.

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

No branches or pull requests

2 participants