jacomyal/sigma.js — pull request #12 by Raibaz (2012-04-04 15:06:23+00:00)
Title: Fix for issue #9

I seem to have found a solution to the issue i opened on your repo a couple of days ago :)

By checking `displayX` and `displayY`'s values at the end of the rescaling against `maxNodeSize` i can change them to avoid half node circles falling outside the canvas.

I don't really know if maybe adding a configProperty to enable this behavior may be appropriate, i just left it as it is in the commit as it suited my needs.