Questions tagged [plantuml]

Open-Source tool in Java to draw UML Diagrams

PlantUML is a Java component that allows to quickly generate

  • Sequence diagrams
  • Use case diagrams
  • Class diagrams
  • Activity diagrams
  • Component diagrams
  • State diagrams
  • Object diagrams

using a simple and intuitive language.

They can be generated in PNG or SVG format.
It is also possible to generate ASCII art diagrams (only for sequence diagrams).

409 questions
5
votes
1 answer

Display PlantUML in Confluence from BitBucket

Confluence supports displaying PlantUML diagrams using for example PlantUML for Confluence macro. Basically, one copy-pastes a source code of the UML diagram and it's correctly rendered in a page. Macro usage and render: Question: My goal is to…
Nikolas Charalambidis
  • 40,893
  • 16
  • 117
  • 183
5
votes
1 answer

How to import UML diagram file into draw.io

Is it possible to convert database diagram exported from DataGrip in *.uml format into diagram suported in draw.io? Or is it possible to convert it into PlantUML somehow -> this is also loadable into draw.io.. EDIT:
bambuste
  • 147
  • 2
  • 9
5
votes
1 answer

Using UML in doxygen markdown page

I am using doxygen for my personal project and desire to use any type of UML language on page created by myself (markdown page). I do not mean to use it in code (it does work), but on a document created by myself, refer to example underneath: #…
Black
  • 312
  • 2
  • 15
5
votes
1 answer

PlantUML and notes on packages

I am trying to figure out how PlantUML manages notes. Below you can see a small example where the behavior seems buggy. @startuml package package{ 'note bottom : this seems to be the correct place, but brings an error artifact system …
ekrempe
  • 93
  • 1
  • 9
5
votes
1 answer

Fill mojo's fileset by cli argument

I like to generate images from .puml files in a maven project. What i do not like to archivee is a hard binding between the project and the library that generates the images. So I like to use this build command: mvn…
Grim
  • 1,938
  • 10
  • 56
  • 123
5
votes
4 answers

How to reference earlier activity in PlantUML UML Activity Diagram

I am trying to make an activity diagram with PlantUML (new beta syntax). So far I came up with (simplified): @startuml start :A; if (Q1) then (yes) :B; if (Q2) then (yes) :D; else (no) :E; endif else (no) …
Roderik
  • 307
  • 1
  • 4
  • 12
5
votes
1 answer

How do I change the background color of a legend in plant uml?

I've created a legend in a diagram but one of the colors im using is very close to the color of the legend, is there a way to change the back ground color of the legend? legend |= |= Type | | | Color one | |
user1605665
  • 3,771
  • 10
  • 36
  • 54
5
votes
1 answer

PlantUML Activity Diagram Go Back

I am using PlantUML to create an Activity diagram. I want the arrow that comes out of Modify Details to go back to OP2 instead of the diamond. I have this diagram: @startuml |Swimlane1| start :OP1; |Swimlane2| :OP2; if (Form Valid?) then…
JohnyChew
  • 147
  • 1
  • 2
  • 10
5
votes
2 answers

How do I configure asciidoctor-gradle-plugin to handle plantuml?

I don't know any Ruby but I do like asciidoctor (and the gradle plugin). Is there a simple way to get the plugin to generate plantuml diagrams? I looked at the basic asciidoctor-diagrams functionality which seems specific to using the native/ruby…
AndyJ
  • 1,204
  • 3
  • 14
  • 28
5
votes
0 answers

PlantUML: Use different Align Directions in Blocks?

Can we apply different Align Directions in Blocks? (as the title said) For example in a State Diagram: Both State_1 and State_2 have two internal states State_1.x and State_2.y (x = 1..2, y = 1..2) @startuml [*] --> State_1 State_1 -->…
gundamlh
  • 183
  • 1
  • 9
4
votes
1 answer

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 I have in a PlantUML Sequence Diagram. More…
Madeline
  • 43
  • 5
4
votes
1 answer

How can you generate Mermaid from plantuml?

I have to transfer plantuml diagrams to mermaid diagrams. Is there a way to somehow generate mermaid diagrams from plantuml diagrams? Thanks for answer I've tried search it but nobody ever asked it here
Theromantus
  • 41
  • 1
  • 3
4
votes
2 answers

How to make Class name bold in plant UML

It is possible to style the class name in PlantUML to italic by making the class abstract. Is there a way to style the class name so that it is bold as in the example class below?
Shadow43375
  • 514
  • 7
  • 20
4
votes
0 answers

PlantUML include from URL through a proxy

I´m having a diagram in PlantUML (edited in VSCode@Windows 10) and there is a !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Deployment.puml in it. Im´m having the Plugin PlantUML v2.16.0 installed and now try to…
Wurzelseppi
  • 95
  • 1
  • 10
4
votes
2 answers

How to create dashed-border rectangle in plantuml

To create a rectangle, I can simply rectangle "Rectangle Label" as RectangleName, but how to make its border dashed? like below?
Loi Nguyen Huynh
  • 8,492
  • 2
  • 29
  • 52