philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

Force directed graph nodes without adjacencies #109

Closed GrAndSE closed 12 years ago

GrAndSE commented 12 years ago

After graph.refresh() called all nodes with no adjacencies was placed outside the visible area or on the corner and it was difficult to work with this items. This change makes visible area smaller (on a half of levelDistance option) and all the nodes becomes visible. Also yuicompressor version updated to 2.4.7 from 2.4.2 and make.py cleaned for pep8.