mxGraph version 2 has been released
Some of you might have noticed us quietly releasing mxGraph 2.0. v2 includes significant re-writes of the rendering functionality. We've also focused on creating a minimum API change across the major version numbers. Most of you should see zero to 30 minutes worth of effort to move from 1.13 to 2.0.
There are significant performance improvements on Internet Explorer 8 in standards mode (certain test cases showing up to x10 improvement). Other browsers will also see improvements in performance varying from 5%-80%.
Touch support is much improved. Upgrading to 2.0 is recommended for anyone with tablets or mobile devices as a target platform.
Previously, implementing new vertex shapes in JS often required custom code sections for SVG and VML. There is a new, complete, canvas API abstraction that covers both vector systems through the one API. You can programmatically implement far more complex shapes more easily, plus the implementation can be extended for any new underlying technology as required (HTML5 canvas, for example), without you having to change your code.
Lastly, interactive vertex rotation is added in mxGraph 2.0. You can see this functionality in draw.io
, the extra handle above selected shapes that enables you to rotate the shape at any angle.