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
0 answers

Where is start point that custom storage for draw.io

I want to add new storage such as gitlab/gitea/gogs for draw.io, But it's hard for me to find the start point, just with basic javascript dev experiences. I know should focus on webapp sources, but no idea about the
Ricky Wu
  • 163
  • 1
  • 2
  • 16
0
votes
1 answer

how will get Draw.io development source code?

How will get below link source code(Draw.io)? Can you help me. https://jgraph.github.io/mxgraph/javascript/examples/grapheditor/www/index.html
Sajith
  • 856
  • 4
  • 19
  • 48
0
votes
1 answer

Is there a way to enforce local=1 using environment variables instead of passing through URL parameters for Draw.io?

Using Draw.io, I would like to enforce only using local device as storage. This can be done via passing a URL parameter but can I do it via environment variable instead? Or is there another way?
gil0109
  • 1
  • 1
0
votes
2 answers

How to have source as rectangle for dragg

i have a requirement to have rectangle shape of fixed size and must be draggable to container, so that i can connect them. i have searched alot but did not find any solution. Question: single rectangle shape(fixed size) should be dragged to…
EaBengaluru
  • 131
  • 2
  • 17
  • 59
0
votes
0 answers

adding google maps to background settings with search function

i am trying to find a way to add google maps as a background to draw.io i need more then just a screenshot of a map.. i need google maps coded into the background as a tool they can tick to enable along with a location search feature.. and instead…
0
votes
2 answers

How can I automatically re-size Draw.io's UML “Class” shape after adding new lines representing extra fields or methods?

It is tedious to extend the height and width of the class shape areas after added new fields or methods to the class representation. Googling suggests ctrl-shft-y, / Arrange -> Autosize, but this does not appear to work as expected for "Class"…
Silverlode
  • 33
  • 5
0
votes
1 answer

How to create new Image in draw.io and Save it database from within my website?

I have created a dummy image in my jsp file.
Arindam Das
  • 206
  • 1
  • 7
  • 29
0
votes
0 answers

How to integrate draw.io into java website?

I have a website build using struts and Hibernate, I need to integrate draw.io in the webpage and RECORD the diagram made using draw.io into database and also show it in the webpage. Can anyone suggest how to integrate and RECORD diagrams made with…
Arindam Das
  • 206
  • 1
  • 7
  • 29
0
votes
1 answer

Draw line in mxGraph with XML?

I use this example of mxGraph Editor I'm trying to use the library to make ladder diagramming editor, so I want to draw start and end lines, but I need them all as a boundary for the diagramming area from left and right all time ( start with the…
Ahmed El Damasy
  • 671
  • 6
  • 13
0
votes
0 answers

HTML tag in text using embed.js

I wanted to show a diagram on a web page using draw.io's embed.js script. There is one rectangle visible on the web page, but the text is:
A
B
(originally there were no tags, just A and B in separate lines). The code:
user1713059
  • 1,425
  • 2
  • 17
  • 34
0
votes
1 answer

What do you call a documentation about XML/GraphML's predefined elements?

today I have come to read some GraphML (basically just XML) files generated by yEd, and I have found many predefined elements such as UMLClassNode, Geometry, Fill... inside them. Unfortunately, I cannot seem to find any documentation regarding those…
0
votes
1 answer

draw.io click to expand button

I've created a draw.io diagram in confluence. I'm looking to create a "button" of sorts that when clicked opens sub items (example: dog is the main "button", when clicked, it opens 4 sub shapes that say "puppy", "adult" "senior" below that…
Jenna
  • 1
  • 1
0
votes
1 answer

Saving mxCodec and mxGraphModel objects into localStorage

I am using mxGraph in Angular web application that can swtich between different pages where the mxGraph drawings are kept. The component that displays current drawing uses mxGraphModel and mxCodec objects as properties. Need to save mxGraphModel…
Miroslav Radojević
  • 487
  • 1
  • 5
  • 20
0
votes
3 answers

Draw.io: Get instance of EditorUI

I am building a Chrome extension that interacts with draw.io. Draw.io creates an instance of EditorUI that holds all information about the currently opened diagram (including an SVG image of the diagram). Is it possible to access that context using…
Felix
  • 369
  • 4
  • 15
0
votes
1 answer

Add text to clipboard in Safari desktop on Cmd+C

In Safari desktop document.execCommand('copy') doesn't work, so I'm struggling with adding a text in the clipboard on Cmd+C key press What I tried is to catch Cmd+C combination on keydown event and do the following: create a hidden input with text…
Don Box
  • 3,166
  • 3
  • 26
  • 55
1 2 3
11
12