Add concrete syntax for class diagrams + example (woods2.py)
This commit is contained in:
parent
c248fc9090
commit
52ded8af77
6 changed files with 311 additions and 58 deletions
|
|
@ -43,6 +43,7 @@ woods_mm_cs = """
|
|||
Man:Class {
|
||||
# We can define lower and upper cardinalities on Classes
|
||||
# (if unspecified, the lower-card is 0, and upper-card is infinity)
|
||||
|
||||
lower_cardinality = 1; # there must be at least one Man in every model
|
||||
upper_cardinality = 2; # there must be at most two Men in every model
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue