1. Very first, here are common basics steps to add angular 9 application on your machine:

$ npm install -g @angular/cli
$ ng new angularmxgraph // Set Angular9 Application on your pc
cd angularmxgraph // Go inside project folder
ng serve // Run project
http://localhost:4200/  //Check working Local server

2. Now run below command into your terminal to include maxgraph package into your angular 9 application:

1.npm install --save mxgraph

3. Now add below code into your angular.json file:

"scripts": [
         ...
          "node_modules/mxgraph/javascript/mxClient.js"
         ...
           ]

#angular 8 #angular 9 #javascript #angular

Angular 9 Mxgraph working example
37.60 GEEK