Plantuml: Difference between revisions

From BITPlan Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Plantuml logo.png|link=https://plantuml.com/|plantuml]][https://plantuml.com/ plantuml]
= Links =
= Links =
* https://plantuml.com/
* {{Link|target=Diagrams}}
* {{Link|target=Diagrams}}
* {{Link|target=UML}}
= Issues =
<source lang='bash'>
plantuml --version
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
No diagram found
</source>
= Stackoverflow questions =
= Stackoverflow questions =
== In PlantUML, how do I specify role names at either end of an association between two classes? ==
== In PlantUML, how do I specify role names at either end of an association between two classes? ==
Line 20: Line 31:
=== rendered ===
=== rendered ===
<uml>
<uml>
hide circle
hide circle
package PlantUml {
package PlantUml {
Line 29: Line 41:
Person "+employee 0..*" <-- "+employer 0..1" Company : employs
Person "+employee 0..*" <-- "+employer 0..1" Company : employs
note on link: [[https://en.wiktionary.org/wiki/employ employs]] is the name of the association between the classes Person and Company.
note on link: [[https://en.wiktionary.org/wiki/employ employs]] is the name of the association between the classes Person and Company.
</uml>
</uml>

Latest revision as of 15:05, 27 January 2026

plantumlplantuml

Links

Issues

plantuml --version
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
No diagram found

Stackoverflow questions

In PlantUML, how do I specify role names at either end of an association between two classes?

In PlantUML, how do I specify role names at either end of an association between two classes?

source code

hide circle
package PlantUml {
  class Person {
  }
  class Company {
  }
}
Person "+employee 0..*" <-- "+employer 0..1" Company : employs
note on link: [[https://en.wiktionary.org/wiki/employ employs]] is the name of the association between the classes Person and Company.

rendered