In an attempt to improve PlantUML documentation...
Wiki Toc Recent changes View page history Add new chapter Reorder page Raw
Object Diagram | |||||||||||||
Definition of objectsYou define instance of objects using theobject
keywords.
| |||||||||||||
Relations between objectsRelations between objects are defined using the following symbols :
-- by .. to have a dotted line.
Knowing those rules, it is possible to draw the following drawings.
It is possible a add a label on the relation, using : followed by the text of the label.
For cardinality, you can use double-quotes "" on
each side of the relation.
| |||||||||||||
Associations objects
| |||||||||||||
Adding fieldsTo declare fields, you can use the symbol: followed by
the field's name.
It is also possible to group all fields between brackets {} .
| |||||||||||||
Common features with class diagrams | |||||||||||||
Map table or associative arrayYou can define a map table or associative array, withmap keyword and => separator.
And add link with object.
[Ref. #307] | |||||||||||||