I want to drag and drop those 3 shapes into mxgraph canvas (which is the black area). Note: I want to fully preserve the drag element on the canvas, including shape, size, color, text, etc. I don’t know whether insertVertex does it work. Dragging the orange,red or other box in to the dark area currently does not work. Answer In
Tag: mxgraph
How to change an mxCell value programmatically?
I have a graph with a “logical” representation in a json (that I use for another program) and the graphical representation is in an MxGraph, rendered in the Angular component. I am using XMLs as values of the cells, as suggested in this Documentation. While for me it is very easy to intercept changes in the mxgraph and update the