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

Make basic Math in Draw.io (diagrams.net)

I want to make some basic math stuff like Sum in Diagrams.net (old Draw.io).Is it possible ? Exemple : I create a new parameter on a shape, like "Elec : T16" and make several copy on this shape. Is it possible to have a Text which can give me the…
0
votes
0 answers

How can I pass variables to an svg file in RMarkdown?

I would like to input a draw.io diagram into my RMarkdown file. However, I want the numbers in the diagram (variable1, variable2, see image) to update with respect to the variables in a code chunk. For example, if I write: variable1 = 10 variable2…
Checster
  • 17
  • 3
0
votes
0 answers

Split columns in Draw.io table

I currently have a Draw.io Table (single column), but the problem is that I want it to be split. Let's say i got one column containing the full name (John Smith), but based on the space I want it to split to two tables. One for first name and one…
A.bakker
  • 221
  • 1
  • 9
0
votes
1 answer

draw.io text wrapping. Is it possible to clip the text?

I have a text area in draw.io Some lines of text are very long. I want them to be clipped and not go outside the text area. (Don't want any text to go to a new line. Only want to clip long lines). Is it possible to do that?
drmax24
  • 1
  • 1
0
votes
1 answer

Unable to add method to draw.io UML Interface 2 diagram

I am having some issues adding methods to UML class diagram. When I click on the bottom box, the cursor is there, and I can tab in it no issue: However, once I start typing, the line immediately shifts downwards: I cannot find any method in…
Flyrobot27
  • 43
  • 6
0
votes
2 answers

How can I resize my draw.io diagram in the Confluence data center edition?

I have created a "Draw.io"-based diagram in our Confluence wiki page. When I saved the diagram, it looked too small. I tried to increase/resize the diagram using the below guide. Resize the draw.io viewer in Confluence Cloud But in our Data Center…
user4948798
  • 1,924
  • 4
  • 43
  • 89
0
votes
1 answer

mxGraph / draw.io : change edge color when it connected to shape

I'm starting to work on integrating the draw.io editor into my project https://github.com/jgraph/drawio/tree/dev/src/main/webapp my objective is to change the edge (arrow) color when is connected to a shape (both side) so i cherched in…
0
votes
2 answers

Diagrams.net (ex draw.io) custom link - can’t hide one tag without have all other tags go hidden as well

I’m creating a configurable diagram using the custom link feature in Diagrams.net. When I crest a button to show cells with a certain tag and hide cells with a different tag, it hides all cells. What am I doing wrong here?
0
votes
1 answer

draw.io / diagrams.net - current date in a text field?

Is it possible to enter a variable of some sort in a text field in my diagram that has the current date and will auto-update to the current date whenever I edit the diagram again?
chrisxfire
  • 445
  • 1
  • 3
  • 12
0
votes
1 answer

Custom viewer doesn't render correctly some shapes

I realized a custom viewer to display diagrams realized with diagrams.net editor. More or less my code is:
0
votes
1 answer

How to create a shape looking like a template class in draw.io?

I'm trying to represent a C++ code with an UML class diagram in the software draw.io. Unfortunately, I didn't found a way to represent a class template. For example, with the below code, I would like to represent a dashed rectangle containing T, at…
user6547518
0
votes
0 answers

Importing and using vanila JS functions in React component

I am very new to react.js and JavaScript, so apologies in advance. I'm trying to integrate https://diagrams.net into other webpage using the file that's directly given by diagrams.net…
Ure
  • 31
  • 1
  • 3
0
votes
1 answer

Is there a way to detect specific cells are overlapping each other in mxGraph?

I'm inserting images on the editor by drag and drop. I want to detect if images are overlapping and if they are then make their border red. Currently I'm modifying this "mxGraph.prototype.cellsMoved" to detect overlapping when the image is moved.…
Deepanshu
  • 17
  • 1
  • 9
0
votes
2 answers

How can we run the diagrams.net source code locally

I want to run the draw.io that is diagrams.net source code locally in my system other than the way of download the desktop app Basically I download the source code from this link https://github.com/jgraph/drawio I need to run this web app in my…
Gokul K
  • 11
  • 2
0
votes
1 answer

diagrams.net: How to avoid upside-down pin text when flipping Dual In-line IC

How can I avoid that the pin text is flipped as well when flipping the Electrical / Logic Gates / Dual In-line IC shape? I'd like to have an IC with the notch pointing down. Note that the main IC text is NOT flipped, only the pin text ... Example:…
Wangnick
  • 735
  • 1
  • 8
  • 14