Angular With mxGraph
April 29, 2020 ยท View on GitHub
a demo project of Angular and mxGraph.
Run This Demo
git clone --recursive https://github.com/hungtcs/angular-with-mxgraph.git
cd angular-with-mxgraph
npm start
How to make mxgraph work with angular in your project
- download mxGraph and put to
/src/assets/lib - add
src/assets/lib/mxgraph/javascript/mxClient.jstoangular.jsoninbuild.options.scripts - set
mxBasePathto/assets/lib/mxgraph/javascript/srcinindex.html - put
mxgraph-type-definitionsundersrc/types
now your can use mxGraph everywhere in your project.