Geometry utils library for jointJS