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

How to add a waypoint in draw.io

All the instructions, support pages and general places I search mention this: right click on a connector and select "Add Waypoint". All support requests are maximum about how to remove accidentally added waypoints. That would be great to achieve for…
Lex
  • 1
0
votes
0 answers

draw.io %varaible% titleblock text substition in a multisheet document

Problem: want to set a document local variable once (using CTRL+M) ONCE and then re-use the %var% in a common title block used on EVERY sheet in THIS document Seems you can export CTRL+M properties, but can not import them! at present CTRL+M…
Ian Finlay
  • 121
  • 2
  • 9
0
votes
1 answer

Draw.io SQL plugin sets wrong primary key

I am generating two tables using the sql plugin in for draw.io inside confluence. The following statement: CREATE TABLE persons ( person_id int PRIMARY KEY, country string, ); CREATE TABLE countries ( country string PRIMARY KEY, size…
ZetDen
  • 155
  • 8
0
votes
0 answers

An indirect calling of a draw.io command prompt leads to calling nodejs

Background: I want to embed the .csv to drawio-xml conversion into my work flow by calling the cmd prompt draw.io -x input.csv -o output.xml indirectly (e.g. by autohotkey or in a jupyter cell). But I'm getting the error "bad option -x". First I…
Leo
  • 19
  • 4
0
votes
0 answers

How to configure Bookstack with draw.io in an offline Docker environment?

I try to set up an offline version of bookstack (https://hub.docker.com/r/linuxserver/bookstack) with draw.io (https://hub.docker.com/r/jgraph/drawio). DrawIO: docker run -p 8080:8080 jgraph/drawio Bookstack: docker run -e APP_URL= -e…
Babbel
  • 32
  • 4
0
votes
2 answers

Can I manually rearrange the nodes created by Arrange -> Advanced -> Mermaid

I can create the edge graph but would like to move some of the pieces around so it's not so horizontal. Mermaid... Graph TD; 1 --> 28 ; 2 --> 23 ; 3 --> 8 ; 4 --> 9 ; 5 --> 33 ; 6 --> 40 ; 7 --> 28 ; 8 --> 33 ; 9 --> 8 ; 10 --> 27 ; 11 --> 33 ; 12…
Richard
  • 25,390
  • 3
  • 25
  • 38
0
votes
0 answers

How to strop text wrapping after formula in draw.io

i am using formulas in draw.io with Latex. Before and after every formula, the text is written in the previous/next line. For example i want to add a simple "is" before and "?" after the formula, but as normal text, not as part of the formula. is…
0
votes
1 answer

Collapse container to icon (or icon + text heading) in drawio

I am using a container in draw.io and would like to pair the container itself with an icon. The resultant shape will be added to a shared library in order to set some general standards for the look and feel of our software component diagrams. I…
allmhuran
  • 4,154
  • 1
  • 8
  • 27
0
votes
0 answers

How to create a custom arrow head

There is a long list of options for arrow heads. Unfortunately, the one I need is not among them. I couldn't find a way to create one. However, there is this element for lost messages in the SysML-library: It does have a custom arrow head named…
Axel Scheithauer
  • 2,758
  • 5
  • 13
0
votes
1 answer

Force using specific node for connection in diagrams.net

Sorry if it isn't the best place to ask about draw.io, but I'm really stuck here. It seems to be new addition, because it was working just fine a few months ago. When I try to connect two objects, it changes node on its own to make connection…
user20510170
0
votes
0 answers

draw.io - how to link text from one shape to another?

In draw.io, I was wondering if it is possible to link the text from a shape on one page to the text of another shape on another page, in a way it is done in Visio with SHAPETEXT, for example: =SHAPETEXT(Pages[PageName]!ShapeName.1!TheText). So that…
tridy
  • 1,166
  • 1
  • 12
  • 21
0
votes
0 answers

How to set a data-property on a node-connector in draw.io using CSV import-utility?

Thanks to the examples supplied by draw.io, I can set all kinds of styled and labelled connectors between my all of my nodes in a diagram. What I haven’t been able to achieve is set a Data-property on a connector. I can set property “type” to a…
0
votes
0 answers

Why does MediaWiki DrawioEditor extension drop "Call to a member function getRepo() on bool" error?

I installed DrawioEditor extension for MediaWiki, but as soon as I insert {{#drawio:ChartName}} and save, I got the error message in the title with a fairly long backtrace. Can someone help me out here? I am running: MediaWiki 1.35.6 PHP 7.4.30…
0
votes
1 answer

Is it possible to convert Mermaid script to XML(mxGraphModel), so that components in the Mermaid diagram can be customized in Draw.io?

Mermaid allows us to draft and edit diagrams in markdown-styled code, and Draw.io (or Diagrams.net) is able to import Mermaid script, which is however treated as a standalone object after import. The Mermaid script can be modified, but the…
yhd.leung
  • 1,162
  • 1
  • 18
  • 27
0
votes
1 answer

Where can I get mxClient.js unminified source code?

In drawio source code, it looks like mxClient is only provided in minified format. Where can I get drawio's mxClient.js unminifiend source code? I tried to look up mxClient unminified version online but I only found V4.2.2 which is now deprecated.
Nasser
  • 13
  • 1