Version 4.2.2 – 28. October 2020

mxGraph 4.2.2

mxGraph is a JavaScript diagramming library that enables interactive graph and charting applications to be quickly created that run natively in any major browser that is supported by its vendor.


This documentation is designed for people familiar with JavaScript programming and object-oriented programming concepts. There are many JavaScript tutorials available on the Web.

General Information

Installation & Examples

API Specifications


There is an mxgraph tag on Stack Overflow that we try to keep answered. Please ensure your questions adhere to the SO guidelines, otherwise it will be closed.


mxGraph is licensed under the Apache License 2.0.


The JavaScript client requires Google Chrome 30 and later, Firefox 31 and later, Microsoft Internet Explorer 9.0 and later, Microsoft Edge 20 and later, Safari 6.2 and later, Opera 20 and later, the default Android browser in Android version 5.0 and later, or the default iOS browser in iOS 8.0 and later.

The servers require Java 6.0 or later or .NET 3.5 or later. Using PHP 5.0 is informally supported. The I/O module for PHP requires libxml. The PHP examples do not support image export.


For information on new releases, please see the mxGraph Changelog.

There is also a very low volume mailing list that only emails in the event of a critical issue affecting mxGraph.

© 2006-2017 by JGraph Ltd.