To display user defined constraints within class diagrams
It ist possible to add user defined constraints to classes and to attributes. It would pay off if those constraint could be displayed in the same way as predefined constraints such as "isUnique", "isID" etc.
It would be even better, if displaying constraints could be enable and disabled: "Show Constraints" (like "Show Type") or "Supress Constraints" (like "Suppress Attributes").
10
votes
Wolfgang Kowarschick
shared this idea
-
Anonymous commented
I cant understand how to add constraints and data type on class.
-
Kevin Miller commented
Yes, please...
Also, it would be good to allow adding a constraint when declaring an attribute:
"size : int = 3 { size > 1}"