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
3
votes
1 answer

How to change the border color of loop group in plantuml?

See, I have a loop in plantuml loop etl -> kafka: kafka -> linda: linda --> kafka: kafka --> etl: end Now I want to change the border color of loop group from Black to DodgerBlue, neither skinparam sequence { …
http8086
  • 1,306
  • 16
  • 37
3
votes
1 answer

Create PlantUML Diagrams From Gradle

Is there a way to create images from PlantUML diagrams as part of a gradle build? I have seen this plugin, however, there is a dependency on Graphviz/Dot and I really need a self-contained build (extract graphviz in a temp dir?) and not one that…
opticyclic
  • 7,412
  • 12
  • 81
  • 155
3
votes
1 answer

Is it possible to embed a checkbox in a grid using Salt

I am building a wireframe for a future application and would like a grid with a checkbox column on the left. I am using the empty checkbox widget [ ] inside a table. Here is my code: @startuml salt { {# Col1|Col2 [ ]|Row data …
Adam G
  • 1,283
  • 1
  • 6
  • 15
3
votes
1 answer

Two classes with a same name in PlantUML class diagram

Dear community members and PlantUml practitioners, I would like to have two classes with the same name such as: Test << stereotype >> Test and I would like to make relation between those two classes. Is it possible to make alias for classes in…
3
votes
1 answer

How to use alias in activity diagram of plantUML?

I want to draw a diagram like below. And my origin code is : @startuml start if (c1) then (YES) :A; else (NO) if (C2) then (NO) :A; else (NO) :C; endif endif stop @enduml It seems that there is no alias syntax in new…
chaos
  • 1,359
  • 2
  • 13
  • 25
3
votes
1 answer

ant-contrib: issues with outofdate

I have a very similar situation as in the the outofdate example (see gengrammer, http://ant-contrib.sourceforge.net/tasks/tasks/outofdate.html): I have a folder with *.class and *.seq files that should be converted to *.pdf with the help of plantuml…
aronadaal
  • 9,083
  • 1
  • 19
  • 33
3
votes
1 answer

How to add a Class and a Database in UML

I'm trying to create in UML a class called LocalStorageHandler that handles a database called LocalStorage, and i'm getting a syntax error. This is my uml code: @startuml package SomeGroup { class "LocalStorageHandler" { } database…
Presen
  • 1,809
  • 4
  • 31
  • 46
3
votes
1 answer

Timing Diagram in Emacs Org Mode?

What is a good way to draw this kind of timing diagram in Emacs Org Mode? Terminal A ------------------------------------------------------------------------------- | ^ ^ ^ | | | | …
windrg00
  • 457
  • 3
  • 9
3
votes
1 answer

New project option for PlantUML plugin does not display using Netbeans 8 on Ubuntu 14.04

I have Netbeans 8 running on Ubuntu 14.04. I have installed the PlantUML plugin from the Netbeans plugin repository and restarted Netbeans. The PlantUML options tab shows in the options dialog, so the plugin is is installed; however, there is no new…
authentictech
  • 422
  • 6
  • 23
2
votes
1 answer

CMake wrapper for new command-line tools

I'm trying to provide a simple CMake function to render PlantUML diagrams to PNG as part of my build process. The idea is that I have a bunch of .uml files containing PlantUML diagrams that I want to render to PNG as part of my build process. I…
André Caron
  • 44,541
  • 12
  • 67
  • 125
2
votes
1 answer

How to create contextual entity relationship diagram in plant uml?

I'm searching from the internet already and it seems I can't find any method to create contextual entity relationship diagram in plant UML like this one: So what's lacking from plantUML is the ability to create diamond symbol and create cardinality…
Kevin A.S.
  • 123
  • 7
2
votes
2 answers

PlantUml: order classes around an interface

I am trying to create UML diagram with plantuml, this is my diagram: @startuml 'https://plantuml.com/component-diagram together { class Rice { } class Egg extends IIngredient{ } class Avocado extends IIngredient{ } IIngredient <|--…
Cyrus the Great
  • 5,145
  • 5
  • 68
  • 149
2
votes
1 answer

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 black circle, surrounded by a non-filled black circle => stop)? Thanks…
Natalie
  • 31
  • 2
2
votes
1 answer

How to apply syntax highlight in a region?

We have this comment in a HTML file B : DoWork B --> C : DoWork @enduml //--> It's PlantUML code in the comment. How do we have syntax highlight on PlantUML code in HTML comment? We've installed…
Cody
  • 609
  • 4
  • 21
2
votes
1 answer

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 very disturbing, to see this unnessecary…