mxgraph-typings
Typescript Type Definitions / Typings for https://github.com/jgraph/mxgraph
The typings are complete but many optional parameters are currently declared mandatory although optional, many parameters are any typed and much of the JSDoc is not properly formatted/tagged.
Install via
npm install -D ts-mxgraph-typings
Usage (Working in Angular 8.x)
; // Typings only - no code! declare ; ;
If you are using the Angular CLI you can add the following line to your .angular=cli.json assets array to make the mxGraph assets available
{"glob":"**/*", "input":"node_modules/mxgraph/javascript/src", "output": "./mxgraph"}