Draw.io API or Automation Questions

691 views
Skip to first unread message

Harish Karthik Tk

unread,
Oct 4, 2019, 5:37:33 PM10/4/19
to draw.io

I am trying to customize some workflows and trying to see if there is any way to automate building of workflows for them.

Does draw.io support APIs? All I need is build one-one or one-many relationships and create workflows from that. Doesn't matter if it is directional or not.

I understand that I do a CSV import, but is there any way to call it?
For example, make a request with csv data and get a jpeg/html in return?

Now, wouldn't that be awesome :D :P

Yours,
Harish Karthik TK

David Benson

unread,
Oct 8, 2019, 4:49:57 AM10/8/19
to draw.io
draw.io is a web application, to have an API there needs to be a back-end. You need to run draw.io on a server that takes these calls and processes them.

Harish Karthik Tk

unread,
Oct 9, 2019, 12:25:52 AM10/9/19
to draw.io
Thanks David,

That makes sense.
If i can launch the app and make calls to it, it should be able to do what I expect it to.
Do you know any method of running the draw.io as a standalone app, maybe as a webserver? Or do you know of any example where some has done something similar to this?

The best I can come up off is a webdriver running the website, with clicks and exports automated through dom objects.
But if I can do it through a server-client call, it will be much more efficient for maintenance.

Thanks again for your answer.

-Hk

Claudia de Luna

unread,
Feb 9, 2021, 7:59:26 AM2/9/21
to diagrams.net Q&A
Hi,  I am also eager to find an API.  We’re you ever able to find a way to do this?

Thanks!

Reply all
Reply to author
Forward
0 new messages