Questions tagged [plantuml]
Open-Source tool in Java to draw UML Diagrams
398
questions
0
votes
1
answer
23
views
How is a plantuml diagram with nested boxes oriented vertically?
I am trying to made a diagram that grow vertically (with the trick of hidden arrows to down), but plantuml is still drawing horizontally.
This is a tiny example of diagram
@startuml
skinparam linetype ...
0
votes
0
answers
5
views
plantuml reporterror UnsatisfiedLinkError
I have installed openjdk-18 on ubuntu23.04, then download plantuml and run below command:
java -jar plantuml.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library:...
-2
votes
0
answers
24
views
Getting URL too long error when passing big UML string to PlantUML
When I try to create big database tables ER-diagram plantuml PNG API was create by mine but when i hit that URL it gives me error of TO LONG URL because URL is so big.
Here's the long link
I am using ...
1
vote
1
answer
17
views
PlantUML, one generic class - with many different occurences - on 1 diagram
In PlantUML, is it possible to show - on one diagram - many differently parametrized, one generic class?
Like here:
@startuml
class List<String>
class List<Long>
class List<Integer>
@...
1
vote
1
answer
19
views
Can I add more sections to state in state diagram?
Each state in the state diagram has 2 sections, the top one is state name and bottom has all the state attributes. For example, for the following:
@startuml
Bob:aaa
Bob:bbb
Bob -> Alice
@enduml
...
0
votes
0
answers
24
views
How to merge Arrows in PlantUML
i am new to PlantUML (and stackoverflow) and could need some help with arrows i PlantUML. You can see the Diagram in the Picture.
How can i order them Better, so that there is one Line between "...
-1
votes
2
answers
63
views
Script to generate Markdown files with embedded PlantUML diagrams for GitLab's PlantUML renderer
I am setting up a repository to store software documentation consisting of several documents which are written in Markdown, and I want to be able to embed PlantUML diagrams in them. The repository is ...
0
votes
0
answers
30
views
Plantuml: make a horizontal line to join boxes
I'm trying to make a family tree with PlantUML, so I decided to use @startmindmap instead of @startuml or another type of diagram. However, I would like tot draw an horizontal line to create marriages....
2
votes
1
answer
36
views
PlantUML - How to define a Flow Final Node in an activity diagram with the new syntax?
In PlantUML, for activity diagrams in the new syntax, how can I define a "Flow Final Node" (a non-filled circle with inner cross) instead of an "Activity Final Node" (an filled ...
0
votes
1
answer
61
views
Plantuml integration in Gitea
I want integrate Plantuml in Gitea
I've installed a docker image of Gitea
https://docs.gitea.io/en-us/installation/install-with-docker/
which is working properly.
To integrate Plantuml in Gitea I'm ...
0
votes
1
answer
22
views
How to use PlantUML plugin in Redmine 5.x?
The plantuml plugin (written by Michael Skrynski) is not compatible with Redmine 4.x or later.
How can we use it with Redmine 5.x ?
0
votes
0
answers
18
views
How to have notes stay where they are suppoed to be
This is the code I want to update. There is a note on the left side of class Client. After I added a prototype to an arrow that points from class Client to class ConcreteStrategy1, the diagram became ...
0
votes
1
answer
52
views
How to draw bloks top to bottom in the PlantUML/Graphviz
I want to draw like my drawing(first photo) in the plantUML(second photo) but I can not align box top to bottom. How can I do that? My plant UML code:
@startuml
digraph dfd{
node[shape=record]
{
...
0
votes
1
answer
14
views
Can I add not-for-display comments in plantuml text file?
I like to add some notes/comments in plantuml text file and do not want them to show up in the generated diagram. Is this doable?
1
vote
1
answer
32
views
Prevent duplicated relationships on a multi-file Plantuml ER Diagram
I am using PlantUML to built a ER diagram and my intention is to separate the database structure in multiple DER file views so I would have a "full-view" and a "system table's view"...
2
votes
1
answer
64
views
How to apply syntax highlight in a region?
We have this comment in a HTML file
<!--
@startuml
A --> B : DoWork
B --> C : DoWork
@enduml
//-->
It's PlantUML code in the comment. How do we have syntax highlight on PlantUML code in ...
0
votes
1
answer
52
views
Plantuml connection alignment and layout problem
Working around on the deployment diagram for several hours, but still can't figure out how to align and format the lines and the labels of lines neatly. The following URL is a simple example of the ...
0
votes
0
answers
68
views
How to add a background color to items using PlantUML
In Visual Studio Code i'm trying to add a backgroundcolor to my "items". According to the documentation it should work like this:
@startuml LogAdministration_C1
!include ../../../src/...
1
vote
0
answers
48
views
Create an executable command in markdown (.md)
I need to have a link in my markdown file that executes a command whenever It's been clicked which would export an image on a directory.
The command is:
plantuml -tsvg FILENAME
I wrote a PlantUML ...
0
votes
0
answers
30
views
How I use plantuml in the c file and view it on gitlab repo like .md file
I want to use plantuml in the .c file in my project. I also want to view the c file, just as I viewed the .md file in the GitLab repo at the link below.
View .md file buttons
If it is possible, how ...
0
votes
0
answers
47
views
plantUML plug-in for VSC on Mac returns 403 when Option-D render is selected
This just started happening...when I choose to render my plantUML diagram in VSC I get this...it used to work, just recently started happening. I should mention this is a work Mac, and they often go ...
2
votes
1
answer
49
views
PlantUML osaPuml How to change standard name of icon
I use osaPuml to generate some network diagrams. In every icon will be desplayed the real name of the icon like «osa_user_green_developer» or «osa_desktop». for unexperiented reader of the manual it's ...
0
votes
1
answer
29
views
plantuml activity diagram how do I add color to part of a process name
I want to highlight part of a process name in an activity diagram to make it stand out.
@startuml
start
:process 1;
:process 2\nSend email;
end
@enduml
I want to make the text of the second line of ...
0
votes
1
answer
17
views
How do I adjust the syntax of plantUML so that the lines on this graph do not coincide?
This my planUML code.
@startuml
node PortalWeb [
Portal WEB
]
card APIGatewayCluster{
node Gateway1
node Gateway2
node Gateway3
}
card NacosCluster {
node Nacos1
node Nacos2
node Nacos3
}...
1
vote
1
answer
94
views
MVC sequence diagram review
My first suggestion was that such questions fit better for CodeReview site. But there's no uml tag on CodeReview. Hope it's fine to post it here.
Here's my first ever sequence diagram. It describes ...
1
vote
1
answer
72
views
What are the fonts used in the none theme of PlantUML?
I want to reproduce the fonts used in the PlantUML none theme. I need this to make graphics generated with another tool consistent with my PlantUML diagrams.
I tried looking at the /themes in PlantUML'...
2
votes
0
answers
105
views
How to merge two disjointed branches in PlantUML activity diagram with new syntax?
I want to create an Activity Diagram with PlantUML's new beta syntax.
I've got the basic decision logic diagram, but I'm having trouble trying to add a merge node to merge two execution branches. I ...
1
vote
0
answers
89
views
PlantUML - How to position the ports on the right side of a component?
I am trying to position the 5 ports on the right side of the WebServer so that the name wont be covered by the lines but I have failed - click to see the diagram that i got
I am using PlantUml.
Here ...
0
votes
0
answers
31
views
I want to embed a uml activity Diagram
I am trying to create an activity diagram of my code by embedding the UML syntax in code and using Doxygen with plant UML.
this is my code
int add_numbers(int a, int b) {
/** @startuml*/
/** ...
2
votes
3
answers
74
views
What does this link type mean in diagram?
I have tried to make component diagram by using plantuml.
I want to represent tcp connection between two modules, so I am learning how to make component diagrams.
In the midst of studying, I found a ...
1
vote
1
answer
93
views
Bypassing an activity in plantUML activity diagram
I've been trying to figure for the life of me how to get this graph looking how I like it. Here's the closest I've gotten
and it has been achieved with this code
@startuml
:A;
split;
-> A to B;
...
0
votes
0
answers
80
views
plantUML: swimlanes, overlapping connectors with flow continuation from 2 to 1
I'm taking this Q/A as a basis:
plantUML: swimlanes and overlapping connectors
The peculiarity there is that the action flow comes to an end in p1 and P2, the two boxes are detached.
What can be done ...
3
votes
1
answer
604
views
How do I add empty (white) space between lines in my PlantUML Sequence Diagram?
I'm creating some notes and images to help me better understand Builder Patterns in Java.
Strictly for design purposes, I've been attempting to input additional white space between some message lines ...
0
votes
0
answers
51
views
Include diagrams in compodoc markdown files (e. g. mermaid or plantUML)
I'm wondering whether it is possible to somehow enable support for mermaid-diagrams in the markdown that goes along with compodoc documentation.
I'd like to add some dataflow diagrams to the readme ...
1
vote
0
answers
61
views
draw a jenkins pipeline like digram with planuml
I want to draw a picture like
with plan uml, is it possible
0
votes
0
answers
84
views
Generating Graphs like plantuml or mermaid from markdown?
I want to create graphs like this, as best in the style we see in the pictures. Every Node should contain a link to another page.
How can I achieve this? Esp. with the nice style.
I have tried to do ...
1
vote
1
answer
22
views
Unable to display object alias as object header inside a frame or package
Using plantuml I would like to create an object with an alias, so I can manipulate the object by means of it's actual name/ID (bar and baz in my example), but its header will show the alias ("Foo&...
2
votes
1
answer
39
views
Add participants to middle of diagram for visibility
I want to know if it's possible to add the participants to the middle of a large diagram, so it's easy to see what line each participant is without having to scroll to the top or bottom.
For example a ...
1
vote
1
answer
85
views
How to use YAML data in PlantUML diagram?
The following PlantUML doesn't work. Wherein lies the problem?
!define YAML_DATA {
actor: User
usecases:
- name: Browse Products
- name: Purchase Product
}
!define ACTOR_NAME {%YAML_DATA.actor%}
!...
0
votes
1
answer
92
views
Automatically replace the PlantUML code in an .adoc file with the corresponding PNG images
I have a big .adoc file with plantUML Diagrams in it. The main goal is to convert the .adoc from asciidoc to markdown. For that it is necessary to replace the .puml diagrams to images (png). Its ...
0
votes
1
answer
121
views
asciidoctor: FAILED: 'asciidoctor-plantuml' could not be loaded
In my docker container, running asciidoctor -r asciidoctor-plantuml my_doc.adoc gets me asciidoctor: FAILED: 'asciidoctor-plantuml' could not be loaded.
To reproduce the issue:
$ docker run -it -v $...
0
votes
0
answers
127
views
How can we Create/Generate UML or Class Diagrams in Kotlin Language Android Studio
I have getting issue to generate UML diagram in kotlin code. I have some java classes for java classes I have used to PlantUML parser plugin in android Studio to generate java code to UML diagrams but ...
2
votes
0
answers
135
views
Is there "!include" directive in mermaid files like in plantuml
I use plantuml for describing class diagrams and I have a number of *.puml files (each for a specific class or set of classes), then I make a single overview file where I include all puml files, like:
...
0
votes
0
answers
202
views
Rendering PlantUML from Azure DevOps Repo in Confluence
For a project I'm working on I'd like to adopt the C4 diagramming language to illustrate technical designs. In order to manage changes to the designs I'd like to use PlantUML so that I can express the ...
0
votes
0
answers
78
views
Why can't I access to my container from host directly across your IP?
So this is my problem:
I have some docker containers running in my host. One of then is gitlab/gitlab-ce. When I try to access across your IP from my host http://172.17.0.4 which is your IP, I can to ...
0
votes
1
answer
236
views
Is there a way to draw multi-page mind map diagrams with PlantUML?
I have tried using different MindMap diagrams and it looks like this field didn't get enough attention in software development community, so I cannot find enough info on other resources.
Anyway, I use ...
2
votes
1
answer
442
views
How to have a box include a group in PlantUML?
I am using PlantUML in Markdown for some sequence diagrams, and I would like to be able to group participants accordingly.
In my sequence diagrams, I make use of the alt grouping keyword to ...
0
votes
0
answers
46
views
How to invoke PlantUML Jar methods to not output image when there is error
I am using PlantUML to generate a diagram dynamically in Java to write to a document. Sample code is as below.
ByteArrayOutputStream png = new ByteArrayOutputStream();
SourceStringReader reader = new ...
3
votes
2
answers
237
views
How to I have an activity diagram with a continue statement in PlantUML
Given the following PlantUML code:
@startuml
start
repeat
:Task 1;
if (Condition 1) then (Yes)
:Task 2;
else (No)
:Continue Loop;
endif
if (Condition 2)...
0
votes
1
answer
142
views
Is there a way to draw arrows from/to table rows in PlantUML?
If you had an ER-Diagram in PlantUML, stylized this way using tables, is there a way to connect the table rows with arrows?
@startuml
entity User {
<#transparent,#transparent>| <color:gold&...