Questions tagged [draw.io]

draw.io is an open source online diagramming application

diagrams.net (formerly draw.io) is an open source online diagramming application. This tag should be used for development questions specific to diagrams.net. For questions about the base of the stack in diagrams.net, use the mxgraph tag instead.

180 questions
78
votes
4 answers

Add row to class diagram

I am making a class diagram in draw.io, but I am completly new at it. I am using the UML>Class2 figure. The first three properties are part of the figure, but how do you get row number 4? I assume there must be something so the text gets attached…
Thomas Koelle
  • 3,416
  • 2
  • 23
  • 44
16
votes
3 answers

Format of Draw.io XML file?

I created a shape in draw.io and exported it to get its XML file, which looks like…
dyarbrough
  • 771
  • 2
  • 8
  • 14
14
votes
2 answers

Can we make a clickable link to another page in draw.io?

Can we make a clickable link to another page in draw.io ? For example, I would like to click on rectangle element in Page 1 and the click forward me to the page 2 in draw.io ? - like a box in the box ? Thank you
DonFabiolas
  • 439
  • 1
  • 7
  • 17
13
votes
6 answers

Draw.io - how to export all tabs to images using command line

I have installed on my PC draw.io app. I want to export all tabs with drawings to seperate files. The only options I have found is: "c:\Program Files\draw.io\draw.io.exe" --crop -x -f jpg c:\Users\user-name\Documents\_xxx_\my-file.drawio Help for…
Leszek
  • 451
  • 5
  • 19
12
votes
1 answer

Rendering XML from draw.io as an image using mxCellRenderer

I am trying to programmatically read in an XML file generated by draw.io, an online flowchart/diagram creation service. Draw.io is built using mxGraph at its core, which has recently been externally named jgraphx (thus the tag on this post), though…
Jamison Bryant
  • 430
  • 3
  • 12
9
votes
2 answers

Use Draw.io to generate SQL / DDL scripts?

There are a lot of resources on internet about how to import tables into ER diagram on Draw.io using sql script. For example here (but I find plenty of resources…
Falco
  • 1,458
  • 3
  • 19
  • 47
9
votes
2 answers

Draw.io -- Is there non-minified source?

We are trying to use the latest Draw.io repository, and modify the javascript client side code to change some of its behaviors for an improved UX. But, the only up to date source we can find is…
seanhalle
  • 973
  • 7
  • 27
8
votes
2 answers

Generate draw.io map diagram from hierarchical JSON/XML

I'd like to programmatically generate a draw.io map diagram from nested XML/JSON exported from Zotero (individual items nested in sub-collections and collections). I already have the basic JSON/XML, which can be adapted to draw.io's format, but I'm…
melat0nin
  • 860
  • 1
  • 16
  • 37
7
votes
0 answers

Diagrams Net (Draw IO) Link to open local file

I have a project documentation written in ASCIIDOC with editable PNGs and I would like to create a link in my documentation that opens a local file directly in draw.io (diagrams.net). Something like…
sashok_bg
  • 2,436
  • 1
  • 22
  • 33
7
votes
1 answer

Merge changes on Draw.io (diagrams.net) files with Git

Context: at my company, we document our architecture with multi-page Draw.io diagrams. These diagrams are included in a statically-generated documentation website. This works well, especially because we can link diagrams and website…
vgr
  • 71
  • 2
7
votes
1 answer

Change style of individual borders of a rectangle in draw.io

I want to format a rectangle in draw.io, such that only one border (left border) is colored black, the other borders: top, right and bottom must remain "clear". I am trying to figure out proper coding to affect only those elements, but it seems that…
Tropicalrambler
  • 619
  • 1
  • 9
  • 15
7
votes
3 answers

Draw.IO: Foreign Key on SQL Plugin

Does Draw.IO support foreign key relationships? Tested it with a lot of different SQL samples (w3schools sql foreignkey) but none worked.
BrunoMartinsPro
  • 1,646
  • 1
  • 24
  • 48
6
votes
1 answer

Draw.io import diagrams from CSV using an API

In draw.io there is a very nice option to create a diagram using CSV import utility (Arrange->Insert->Advanced->CSV). It is very simple and straight forward. I was trying to find a way to do it using an API (REST for example), is there a way to do…
6
votes
1 answer

Is it possible to export a Lucidchart diagram to json and then import that into draw.io?

I am trying to convert a large Lucidchart diagram that took quite a while to Draw.io. Draw.io recommends ctr-a, ctr-c, ctr-v, but that doesn't seem to be working. Draw.io also cryptically mentions however: draw.io supports importing the…
ohhh
  • 972
  • 9
  • 24
6
votes
1 answer

Render draw.io diagram to png

I'm trying to render draw.io saved (SaveAs->Device) .xml diagrams. Saved diagram using as input example:
Nikita Romaniuk
  • 125
  • 2
  • 11
1
2 3
11 12