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
2
votes
1 answer

Entity Relationship Diagram from Name Pairs, Redshft

I am handing over a Redshift database with plenty of views. I want to visualize their dependencies. I made the select below, receiving ~500 rows with first two columns showing names of two related entities. SELECT dependent_view.relname as…
mattved
  • 23
  • 6
2
votes
1 answer

How can I automate displaying mxGraphModel in draw.io?

I have prepared a mxGraphModel in my console app (that is written in Java) and I would like to automate one of the following: opening draw.io / diagrams.net displaying its content export it as an image to a file: png, svg, pdf, any type…
Mikhail Kopylov
  • 2,008
  • 5
  • 27
  • 58
2
votes
1 answer

How to create multiple tabs or sheets or pages in mxGraph?

Draw.io has the feature of multiple pages with a tab view in the bottom. But to integrate that into mxgraph graph editor, it seems like an overkill. I'm looking for a simpler solution or some sort of workaround.
2
votes
1 answer

How to build draw.io to have lightbox viewer

I'm intending to build draw.io since cloning the repository and publish it to e.g. GitHub pages does not allow me to make use of the lightbox. I assume that this repository only includes the client-side Java code but the lightbox is server-sided. I…
Stefan
  • 372
  • 1
  • 16
2
votes
1 answer

mxClient renders different shapes all as squares

Several weeks ago I have been asked to upgrade a web application based on a very old version of MXGraph library (version 2.4). The application integrated also the 'grapheditor' a sort of demo application evolved later in Diagramly and then in…
2
votes
1 answer

How to export XML in draw.io?

In draw.io (an open source, online drawing program) a custom floor-plan shape is needed to be exported which will act as an skeleton for further drawing. Although this can be achieved by drawing and exporting the skeleton as PNG, an XML format is…
2
votes
1 answer

Text-editing a draw.io file exported as SVG with embedded drawing

I customarily export draw.io drawings as SVG with the option to "include a copy of my diagram" selected. This enables me to display them in a SVG-capable browser, and then open and modify them further in draw.io. I'd like to do some scripted editing…
Chap
  • 3,649
  • 2
  • 46
  • 84
2
votes
0 answers

how to create shapes drawing a diagram

I'm new to draw.io and mgraphx. I know how to create a shape 'programmatically' in draw.io using 'extras/create shape' I'm wondering if it is possible to drag some basic shape to a diagram, 'merge' them to a single shape, then add some connection…
Roberto Vanoli
  • 441
  • 1
  • 4
  • 15
1
vote
0 answers

Grafana like FlowCharting in R shiny

I am now more or less familiar with programming dashboards in R shiny, however have no broad knowledge of html, xml and json. Grafana offers a plugin which allows to display diagrams created in draw.io (FlowCharting documentation), feed it live data…
MaxM
  • 11
  • 3
1
vote
1 answer

Automatic fill colour but opposite to theme in diagrams.net aka draw.io

In diagrams.net aka draw.io how can a shape have a fill colour that is black if the diagram is viewed with light appearance. white if the diagram is viewed with dark appearance. A shape can have the line colour like that, by opening the Edit Style…
sjjhsjjh
  • 333
  • 1
  • 7
1
vote
0 answers

How do I change the border geometry of LaTeX-formatted text in draw.io

In a figure in draw.io, I have arrows pointing basically everywhere. When I LaTeX-format the "label" in a "connector with 3 Labels" object, the formatted text is given a fixed border, which I find impossible to change. Below is an image of the label…
1
vote
1 answer

Generate DrawIO / jGraph Diagram from CSV Programmatically?

This feels like it should be possible. But I've not managed to find out how just yet. To achieve this via the desktop application it's simple; Use the Arrange > Insert > Advanced > CSV option Diagram generated Export to HTML or SVG Open up in…
Michael Cropper
  • 872
  • 1
  • 10
  • 28
1
vote
1 answer

How to change shadow transparency for Diagram.net shapes?

In diagram.net editor, I want to keep a background shadow for shapes as non transparent (i.e. full black/ bold color) but the default shadow is always in transparent mode. Is there any way to do so in diagram.net (previously known as draw.io)…
1
vote
1 answer

How to generate an SVG which can be loaded into Draw.io as a result of SVG rather than an image

I can export SVG from draw.io and import the exported SVG back to draw.io. All the drawing are there and no change. When I created SVG using my application, and import to draw.io as SVG, the result in draw.io is a image. So my question what…
cdhit
  • 1,384
  • 1
  • 15
  • 38
1
vote
3 answers

Edit SVG color in draw.io

I'm following this guide on editing imported svg's in draw.io but with no luck. I am not getting the style options after inserting the editableCssRules=.*; code on the svg itself. Has anyone else experienced this? I have the latest version installed…
Dannyboy
  • 197
  • 3
  • 12