1.教程
https://segmentfault.com/a/1190000018510996
2.git
https://github.com/jinzhanye/mxgraph-demos
https://github.com/jinzhanye/pokemon-diagram
3.参考
https://jgraph.github.io/mxgraph/javascript/examples/images.html
https://jgraph.github.io/mxgraph/javascript/examples/indicators.html
https://jgraph.github.io/mxgraph/javascript/examples/ports.html
https://jgraph.github.io/mxgraph/javascript/examples/schema.html
https://jgraph.github.io/mxgraph/javascript/examples/grapheditor/www/index.html --左侧选择UML第4个
这个里面有样式,即时生效,也可以复制样式
https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxConstants-js.html --STYLE_开头