Difference between revisions of "Plantuml"

From BITPlan Wiki
Jump to navigation Jump to search
 
Line 22: Line 22:
 
=== rendered ===
 
=== rendered ===
 
<uml>
 
<uml>
 +
 
hide circle
 
hide circle
 
package PlantUml {
 
package PlantUml {

Latest revision as of 18:42, 3 February 2021

plantumlplantuml

Links

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