a demo project of Angular and mxGraph.
git clone --recursive https://github.com/hungtcs/angular-with-mxgraph.git
cd angular-with-mxgraph
npm start- 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.