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

Draw.io embeded documentation configuration parameters

I'm on a project with embedded draw.io integration, only, the documentation part of the possible "configuration" doesn't seem to redirect to the right place. Below is the screen print I made. It leads to:…
jdelpierre
  • 11
  • 4
0
votes
1 answer

How to add orange diamond tool to custom shapes?

I've noticed that some shapes in draw.io/diagrams.net come with a little orange diamond that allows internal shape modification like say rim thickness Is it possible to add something like this to my own custom shapes?
Adam Bubela
  • 9,433
  • 4
  • 27
  • 31
0
votes
1 answer

How to build an advanced link in draw.io

I am looking for how you can build a link in draw io, so that when you click first, it hides a layer and then opens a different page of the same draw io document. so far i tried this: data:action/json,{"actions":[{"toggle": {"cells":…
0
votes
1 answer

In draw.io, how to move a node in front of another one?

I create a Horizontal Tree Layout and create some nodes in Draw.io. tree node How to move "item 1" in front of "item 2"?
Oliver
  • 33
  • 5
0
votes
0 answers

web request from draw.io

I am developing a plugin for the desktop version of drawio. The objective is to be able to make a request to a web service with the generated XML. I have tried different methods but have not succeeded. Is it possible that a request cannot be made…
H_2525
  • 11
  • 2
0
votes
1 answer

How to etree findall() on many levels

I try to manipulate an diagrams.net (formerly draw.io) not compressed XML exported drawing. Cables can be hooked up to elements and I want to get a cables-list. I do a search for all cables by testing if the element has source and target attributes.…
novski
  • 196
  • 1
  • 11
0
votes
2 answers

uncompressing Drawio file in node.js

I think that I want to uncompress a Drawio drawing, pour it into a file, then operate on it (e.g. using Ohm-js). I can uncompress the .drawio file using the uncompressor tool (https://jgraph.github.io/drawio-tools/tools/convert.html), but I get an…
0
votes
1 answer

How to link to html page at specific ID bookmark?

Using Diagrams.net (draw.io), I would like to link specific elements to web pages. This is easily accomplished currently by creating a link for the element (say a rectangle). However, I would like to navigate directly to a specific id bookmark in…
0
votes
2 answers

In diagrams.net (ex draw.io), can I hide shapes having only one specific tag?

While it is possible to hide shapes having a specific tag among others, I was not yet able to only hide shapes having solely one specific tag. E.g., this custom link also hides shapes having tags "tag1 tag2…
von_court
  • 152
  • 2
  • 10
0
votes
1 answer

Creating arrow-sourcable table rows in Draw.io

I'm trying to create a three column table in draw.io. I've started with the software / entity relationship example and adapted the style slightly. I've taken this example because I need my arrows to originate and go to specific rows in the table,…
ZirconCode
  • 805
  • 2
  • 10
  • 24
0
votes
1 answer

draw.io - objects adjust their distances automatically

I want to use Draw.io to draw a WBS chart. The chart has too many nodes and each parent node can have multiple children. I wanted to know if there is any way in Draw.io, so that when a new child is added, it's distance with siblings be updated…
Salar
  • 5,305
  • 7
  • 50
  • 78
0
votes
1 answer

Open embedded draw.io with only part of the palettes

I am using draw.io in embeded mode in iframe, using the draw.io code installed locally. Draw.io enbles the option to hide sidebar palletes using +moreshapes button on the bottom left corner of the app. How can I configure it progrematically. using…
tal
  • 525
  • 2
  • 8
  • 26
0
votes
1 answer

Adding connectors on mouse over similar to draw.io

I am trying to simulate an arrow feature similar to draw.io where on mouse hover on an object, i would like to show the blue dots on the center of each side and arrows on all 4 sides. Any idea how to implement the same. Appreciate your response..…
0
votes
1 answer

Adding connection points to groups

with styles it is possible to add connection points to a shape (points = [[x1, y1], [x2, y2]]...Draw.IO help). I tried this for groups, but it does not work. Is there a way to create connection points on groups? Or do I have to create a more complex…
Murmi
  • 91
  • 10
0
votes
0 answers

My clone of draw.io fails doGet when authenticating to Google Drive

We have a clone of draw.io. We have made some modifications to the UI for increased functionality. This works on localhost. We then did the Google Drive authentication process. But it was done on version 12.1.7 of draw.io. That integrated with…