jgraph / mxgraph

mxGraph is a fully client side JavaScript diagramming library
Other
6.83k stars 2.06k forks source link

Exporting to image moves value inside shape #441

Closed cesarrsarabia closed 4 years ago

cesarrsarabia commented 4 years ago

Hi, I've implemented the method to export the created diagram into a png. The problem is that If I write text inside a shape it moves outside, but when I open the xml on editor to edit the diagram it shows ok.

Image I get : result_img

expected:

expected_img

I'm using .NET as backend.