uzh / signal-collect

A framework for scalable graph computing.
www.signalcollect.com
Apache License 2.0
148 stars 32 forks source link

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

Open pstutz opened 11 years ago

pstutz commented 11 years ago

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

cshapeshifter commented 11 years ago

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.