Skip to content

Tag: mxgraph

How to drag html shapes into mxgraph canvas

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…