jacomyal/sigma.js — pull request #291 by spatialguru (2014-06-05 16:46:49+00:00)
Title: add label alignment settings

Added defaultLabelAlignment and setup labels.def to support labelAlignment setting - left, right, center, top, bottom and inside as options. Not sure I have the "inside" option working well - I want it to put the label inside the node if the node is large enough to hold it, otherwise align it right".
Not sure if there are better ways to do this, so feedback welcome - just learning...