Questions tagged [plantuml]
Open-Source tool in Java to draw UML Diagrams
plantuml
460
questions
90
votes
2
answers
99k
views
PlantUml define relative position of components
I'm actually trying to generate a component diagram with PlantUml. Is it possible to define the relative position of the different components? What I want to define is: ComponentB is left from ...
75
votes
7
answers
42k
views
Can't render component diagram with PlantUML in IntelliJ
I am trying to create a component diagram using the PlantUML plugin for IntelliJ.
I have installed the plugin and worked with it before. However, when I try to render a component diagram, I get an ...
55
votes
5
answers
69k
views
How to correct PlantUML Line Path
I created this diagram using the following code. But as you can see, the lines going from (Cancel Order) and (Place Order) to (Publisher) decide to take a terribly rounded path to get their, instead ...
50
votes
5
answers
31k
views
How to generate a legend with colors in PlantUML?
I want to color classes in my class diagram, based on a certain criteria, and then display a legend, that would look roughly like:
If I could add an HTML table within PlantUML's legend and endlegend, ...
49
votes
6
answers
70k
views
How to align blocks in PlantUML class diagrams?
I am using PlantUML to make simple class diagrams and the tool is awesome, but I couldn't find any way to align classes with each other except putting them into packages or using relationships like ...
40
votes
1
answer
80k
views
PlantUML different layouts
I am using PlantUML API to generate Activity Diagram.
I have used GraphViz before and used rank parameter to define layout
rank=LR [for left to right]
I am trying to find similiar thing in ...
39
votes
7
answers
57k
views
how to use the plantUML preview in VSCode?
I am trying to use plantuml add-ons on VSCode: there are several but none of them is working.
In this eample I am using the plantUML add-on.
As you can see on the second image the preview is blank.
...
28
votes
0
answers
5k
views
avoid overlapping arrows in plantuml class diagrams
I am using plantuml for creating the class diagrams along with arrows and messages on the arrows. It works perfect untill the diagram is huge. In large diagrams where there are multiple arrows and ...
27
votes
5
answers
29k
views
PlantUML extension for Visual Studio Code on Windows only working with sequence diagrams
I installed the PlantUML extension (by jebbs) in Visual Studio Code for Windows and everything is working perfectly for sequence diagrams.
However when I try to render a class diagram I get the ...
24
votes
1
answer
12k
views
PlantUml - Set max width without constraining height
I have a plantUml diagram that looks like this:
The image has a width of 1234px and a height of 970px. I need to print the image as part of a report and would like to fit it on a letter sized sheet ...
20
votes
3
answers
21k
views
Is it possible to use custom images for UML items in plantUML?
PlantUML is very powerful when you would like to create standard UML diagrams.
But I currently think about using PlantUML to document EIP routes (like the routes on these images: https://www.google....
19
votes
2
answers
15k
views
How to make multiple sequence diagrams in single page
I wonder if there is any way to make a plantuml two sequence diagram in single page side by side. I want to keep the same actor names in both diagram. Currently if I do something like below, it ...
18
votes
2
answers
16k
views
How to create nested box in PlantUML?
I cannot make a nested box in plantUML.
@startuml
box "B0" #LightBlue
Bob -> Alice : hello
Box "B1" #LightYellow
Bob --> Cunny : hi
end box
end box
@enduml
This gives an error that box ...
15
votes
9
answers
39k
views
Using plantuml within a markdown document
At the moment I am trying to make a presentation using markdown.
In order to include an UML diagram I want to use PlantUML.
The code is written in the document below. I am of the understanding, that ...
14
votes
1
answer
16k
views
PlantUML: overlapping activations (multiple threads)
I am trying to show overlapping activations in my sequence diagram (I am using PlantUML) but they are showing as nested activations:
For example:
@startuml
participant T1
participant T2
participant ...