Awesome
Angular With mxGraph
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.js
toangular.json
inbuild.options.scripts
- set
mxBasePath
to/assets/lib/mxgraph/javascript/src
inindex.html
- put
mxgraph-type-definitions
undersrc/types
now your can use mxGraph everywhere in your project.