Questions tagged [plantuml]
Open-Source tool in Java to draw UML Diagrams
plantuml
459
questions
0
votes
1
answer
25
views
Cross reference to included plantuml
I want to write a documentation with asciidoc, including a plantuml. This is how I do :
[plantuml, title="My great title"]
----
[[sch_id]]
include::plantuml_sources/my_source.pu[]
----
And ...
1
vote
0
answers
41
views
How to Generate PlantUML or Class Diagrams from an Existing C# Project/Solution? [closed]
I am working on a project where I need to generate PlantUML diagrams or class diagrams directly from an existing C# project or solution.
My goal is to visualize the architecture and relationships ...
0
votes
1
answer
26
views
Plant UML Multiple legend in Gantt View
How to add Multiple legend with different colors in Gantt Chart using Plant UML?
It's working for me, for one legned. It's taking the last line of code...
Is there a way to show, different parameter ...
2
votes
1
answer
43
views
How to make the border of note dashed in PlantUML
I am using skinparam to change the default look of the note in PlantUML, everything seems to work except for the BorderStyle property. I want to make the border of the note dashed but it stays the ...
2
votes
1
answer
38
views
is it permissible to create more than one class diagram?
I'm trying to create a simple project and want to implement uml like a class diagram.
According to the sources I studied, class diagrams can only be made once for one project. not made based on ...
0
votes
0
answers
34
views
Why can't VS code generate the PlantUML folder automatically after installing the CSharp to PlantUML plugin?
Currently using:
.NET 8.0 Runtime
CSharp to PlantUML 1.4.0.
VS code 1.90.1
Node.js: 20.9.0
OS: Windows_NT x64 10.0.19045
Following the steps in the video (2:16), I am unable to generate the PlantUML ...
1
vote
1
answer
87
views
Syntax Error in PlantUML Sequence Diagram
I'm encountering a syntax error in my PlantUML sequence diagram. It's related to line 19. Here's the diagram I'm trying to create:
@startuml
participant Employee
participant System
group "...
0
votes
0
answers
53
views
plantuml use mindmap-style arrows in other diagrams
I would like to use mindmap style arrows in non-mindmap diagrams.
example:
@startuml
left to right direction
object o1
object o2
object o3
o1 --> o2
o1 --> o3
@enduml
gives me:
Which works.
...
1
vote
1
answer
355
views
Is this use case diagram for managing and viewing business objects correct?
Hi I have multiple fonctionalities:
the manage and view share the same fontionalities but the view use case contains the view of dashboard and calender in addition.
I have one actor and if he/she ...
2
votes
1
answer
107
views
plantuml, how to avoid text or other objects overlapping?
I try to make nice picture with plantuml and 1 component inside another with some internal and external interfaces. Output is ugly with overlapping object and text in my example.
@startuml
left to ...
3
votes
1
answer
116
views
How to style a state in a PlantUML activity diagram (new syntax) for dashed or dotted outline
Is it possible to use a dashed or dotted stroke to outline a state of an activity diagram using PlantUML?
Not using the new activity diagram syntax, we can do a state diagram with styled outline, ex.
...
0
votes
1
answer
119
views
Reuse of component in PlantUML Component Diagram
I'm trying to draw a component UML diagram using PlantUML.
I want to declare a component C and reuse it in several nodes.
I tried with a code like the following
@startuml
cloud CMS #darkgreen {
...
0
votes
1
answer
73
views
PlantUML changes an order of fields in a class diagram
I am trying to design DB tables with PlantUML class diagrams. But I face a weird behaviour - the order of of fields is not respected. How to show the fields in the original order?
This is a minimum ...
0
votes
0
answers
56
views
Java CodeCache is Full executing PlantUML / GraphViz
I am attempting to generate diagrams for my plantuml file locally but keep coming across a Java CodeCache error, I understand in theory what the issue is, that is I need to increase the Cache size, ...
0
votes
0
answers
74
views
Can PlantUML generate nested/embedded block components and reference them via a dict "[]" or dot notation "."?
Given a diagram that looks like this following:
Where the components are defined in a nested manner, something like (ignore the actual semantics as I'm generalizing, though I'm welcome to full ...
0
votes
1
answer
166
views
Unable to generate plantuml diagram when trying to use "iplantuml" in Jupyter Notebook within vscode
I'm trying to use iplantuml in jupyter notebook within VS Code.
Keep getting this error:
---------------------------------------------------------------------------
FileNotFoundError ...
0
votes
1
answer
54
views
Syntax error when trying to use "iplantuml" in Jupyter Notebook
I'm trying to use plantuml in jupyter notebook within VS Code.
pip install iplantuml
import iplantuml
%%plantuml
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication ...
1
vote
1
answer
463
views
Why am I getting a plantUML syntax error with a statechart in a package? [closed]
I try to run the following code on plantuml webserver.
@startuml
package "CI/CD and Monitoring System" {
state "CI/CD Pipeline" {
[*] --> Idle
state Idle {...
1
vote
0
answers
201
views
How do I show an array of values in plantuml?
I have an state diagram. At one point is gets into the ListenToEvents state. But the events can be updated. depending on the previous states.
In my plantUml file I have these to show which events the ...
1
vote
1
answer
79
views
using plantuml %load_json in DocToolchain
i try to use the possibility to schon an external json file in a class dirgram, embedded in an asciidoc fil using doctoolchain.
i'm able to reference the file with include:
----
include::../../...
1
vote
1
answer
749
views
PlantUML in Visual Studio?
Is there any documentation explaining how to use PlantUML in real Visual Studio 2022 (not VSCode). There is a PlantUML extension, but no documentation how to use is.
https://marketplace.visualstudio....
0
votes
0
answers
60
views
Link map key to an entity that hasn't been defined yet in a PlantUML object diagram
When defining a map in a PlantUML object diagram, is it possible to link a key within a map to another map that hasn't been defined yet?
Understandably, the following code yields a "No such ...
2
votes
1
answer
208
views
How to Cross-Reference Plantuml Diagram in Sphinx
I am writing some documentation in Sphinx and cannot figure out how to reference a plantuml diagram in text.
Using the numref role I can reference figures via a label, e.g., :numref:`diag`. In text ...
1
vote
1
answer
639
views
Repeat while loop after a condition in PlantUML activity diagram
I'm dealing with some difficulties trying to achieve the proper look of the plantuml activity diagram. What I'm getting is on the left, I'd like to receive what's on the right, ie:
more straight line ...
2
votes
1
answer
67
views
How do I position the interface on top?
How do I position the interface on top?
1. How to position the interface ICreditCard on top of MoneyBack?
2. How to position the interface ICreditCard on top in the middle between above MoneyBack and ...
1
vote
1
answer
67
views
Issue with vertical alignment of UML elements from PlantUML
I cannot align namespaces/classes vertically in PlantUML output. E.g.:
@startuml
namespace AAA {
class MyBaseClass {
}
class MyDerivedClass {
}
MyBaseClass <|-- ...
1
vote
1
answer
71
views
How to center allign literals compartment title in Enum class diagram?
I want to create a class diagram of an Enum in PlantUML with the literals keyword centered above the third compartment according to the following quote (also referenced in this answer):
UML 2.5.1 - ...
0
votes
0
answers
183
views
Rendering PlantUML in Markdown in VscCode Preview and Gitlab
I have the following PlantUML diagram in a markdown file (sample.md):
### Sample UML Sequence Diagram
```PlantUML
@startuml UMLSequenceDiagram
Alice -> Bob: Authentication Request
Bob --> Alice:...
0
votes
1
answer
148
views
PlantUML groups, rectangles, partitions, etc in Use Case diagrams
Is it possible to define the use cases outside of the groups?
I'd like to be able to do something like:
actor Guest as g
usecase "Eat Food" as UC1
usecase "Pay for Food" as UC2
...
0
votes
0
answers
45
views
How to integrate openiconic with plantuml.jar?
I am using the current version of plantuml.jar (1.2023.13). I create my drawings using the Visual Studio Code plugin on Mac.
For the first time, I am trying to use Open Iconic in my diagram. My ...
2
votes
0
answers
39
views
Is there a way to merge different path to the same Control block?
There are only two targeting block which is s1 and s2,but they come from different divergent path through many condtions,like:
source code :
@startuml
!pragma useVerticalIf on
:do sth1;
if (cond1) ...
0
votes
1
answer
59
views
PlantUml component relative posithion strange behaviour
Here is my simplified component diagram:
@startuml
component TopLeft
component TopRight
component BottomStretch {
'portin port_test
}
TopLeft -[hidden]r- TopRight
TopLeft -[hidden]d- BottomStretch
...
0
votes
0
answers
38
views
Is there a way in plantuml to force an element to be a tipe from an specific diagram after using "allow_mixing"?
I've been trying to make a diagram with both classes stereotypes and common classes, using "allow_mixing" I can put in my diagram elements "boundary" and "control" of a ...
0
votes
0
answers
27
views
How to create primary settings in one file and create another file using first file in plantuml?
I have puml file like this
@startuml
'Start - This needs to be created in the 'primary.puml' file.
skinparam defaultFontName Arial
skinparam sequenceArrowThickness 2
skinparam roundcorner 20
...
0
votes
1
answer
115
views
Running PlantUml Jar On IKVM fails with System.TypeInitializationException
I am attempting to run PlantUml in .Net rather than relying on a Java Virtual Machine installed locally/in docker/externally for it to run on. IKVM as I understand it creates a JVM that runs in .Net ...
0
votes
0
answers
150
views
Forcing net positions in nwdiag
I am having problems with the following diagram:
@startuml
!include <office/Concepts/firewall>
!include <office/Devices/modem>
!include <office/Devices/router>
!include <office/...
0
votes
0
answers
51
views
PlantUML: need arrow from stop to start
I need the red arrow in figure below. It should go from stop of 1st partition to start of 2nd partition. So far my tries only got me syntax errors.
UPDATE: the plantuml web site has an example which ...
1
vote
0
answers
411
views
Documenting Layered Architecture with PlantUML
I want to document layered software architecture with plantUML that at the end will look like this:
What will be the best approach to create this type of diagram with plantUML?
This is the initial ...
0
votes
0
answers
43
views
PlantUML - is there an api doc kind of reference anywhere?
For programing languages like java/php/.net etc we always have api doc, by going through which we can find out what parameter/argument a method/constructor etc takes.
I don't find anything like that ...
1
vote
0
answers
70
views
Use image attributes with plantuml and github_markdown
Is there a way to use link_attributes and filters with markdown_github?
Consider the following minimal example:
```{ .plantuml height=0.2cm}
Alice -> Bob: Authentication Request
Bob --> Alice: ...
0
votes
0
answers
42
views
Is there anyway that this plantuml diagram can be made more comprehensible
The below plantuml code seems to be well defined. But after rendering I don't find the rendered image any comprehensible.
I have asked for the company services to be rendered to the bottom but they ...
0
votes
1
answer
243
views
PlantUML - how to define the order in which the element are drawn?
In below plantuml code, i am defining [a] -> [b] after component A, still it is getting rendered before (i.e left of) component A. I want [a] -> [b] to be drawn after (i.e to the right side of) ...
0
votes
0
answers
41
views
PlantUML - Activity diagram : layout with activity labels is too complex, how to simplify?
When using connectors in an activity diagram, the layout is clean.
However, when the connectors are replaced by activity labels, the layout become complex which makes the diagram less readable.
See ...
0
votes
1
answer
128
views
PlantUML - Component diagram with component with inner component in center
I want to have a component diagram with one component with an inner component (nested component) at the center and one component on each side (top, right, down, left) pointing to the center component.
...
0
votes
2
answers
108
views
Is it possible to specify starting item when rendering a PlantUML diagram?
I used a tool to auto-generate a puml file from a large codebase. I can render the whole thing as an svg, but is it possible to render only part of the puml file?
Specifically, I have an interface ...
3
votes
1
answer
174
views
PlantUML: Is there a way to disable the vertical alignment of elements on the same level of the hierarchy of a class diagram?
In Plant UML I have a couple of classes where I need to specify a large number of attributes in one of the classes, but this causes a large vertical gap between that class' siblings and its sibling's ...
1
vote
2
answers
535
views
Including icons in Activity diagram in PlantUML?
Context
To improve my understanding on how SSH is used I drew a diagram in PlantUML using the Domain Story:
Live Example
However, I think it looks a bit chaotic, hence I would like to convert it into ...
1
vote
1
answer
487
views
Render a PlantUML diagram in an asciidoc readme in GitLab
I'm trying to put my diagrams in the readme and from looking at the gitlab docs it seems like it can be done by default. However, GitLab doesn't render my diagrams.
I used the same method as in the ...
2
votes
0
answers
360
views
plantuml activity diagram with parallel split execution joining in reverse order
I have this plant UML diagram with split lines. Now I want to change the notation so that I get the modifications drawn in red.
@startuml
start
split
:A;
split again
:B;
split
:C;
split again
:D;...
1
vote
0
answers
106
views
New diagram type support in plantuml- For Autosar visualization
I'd like to modify the plantuml github codebase to support AutoSAR based visualization of ports,interfaces,components with customized icons.
Is there any directions which can help me to understand the ...