Is there draw.io api to manipulate diagrams?

9.9k Views Asked by At

I want to create importer/exporter for draw.io. But I can't find how to work with drawio format programmatically. Is there any API available for the purpose?

2

There are 2 best solutions below

0
Marco Azzalini On

draw.io is based on mxGraph so probably you will have to use mxGraph's API. If you want programmatically manipulate the draw.io diagrams file with java you can take a look at this my post

Hoping this is helpful for you

0
Pavel Vlasov On

You may use Nasdanika Drawio API to read, manipulate and save Drawio diagrams.