I am working with the very good mxgraph library. I base my application on the GraphEditor example. I have used my own PNG icons. Everything works well. For a better rendering I want to use SVG images. I have tried to remplace PNG image by SVG image, it's working well in the javascript : I can drag and drop, then resize ... I can save and open correctly. But if I try to export in PNG or PDF, the SVG images or not exported (the rest of the diagram is OK). I tested SVG images on draw.io and it is correctly exported. Is there any option or parameter to fix that ?
I looked to another request : SVG shapes instead of stencils The solution might be with mxImage but I can't find how to use it.
Any help welcome.