We have upgraded application from angular 10 to 15 with that we upgrade mxGraph from ^3.9.12 to ^4.2.2. In this to load mxGraph diagram for update we assigned xml object but graph is not shown only empty grids are visible. To Initialization of object this.newGraph = new Graph( document.getElementById("newgraph")); To update object if (newGraphXML) { this.newGraph.xml = newGraphXML; } else { this.newGraph.readSchema(this.schema); } Although we have all data in newGraphXML but still it doesn't show anything after loading page. Continue reading...