With DIA diagramming program, how to add cardinality notations on relationship lines?

StackOverflow https://stackoverflow.com/questions/8843645

  •  27-10-2019
  •  | 
  •  

I am using DIA v0.97.1 to draw an entity relationship diagram with UML sheet for my database model. However, I tried and failed to find a switch allowing me to add cardinality notations (e.g. 1...n) on those relationship lines. Is there such a feature in Dia? Or I have to install some plug-ins? Thanks.

有帮助吗?

解决方案

the cardinality of relationships is set inside the relationship box. double click it to find its properties. first three properties are name, left cardinality and right cardinality :) this way they remain locked to the relationship box and not the line. which actually makes more sense.

also, make sure you're using the model sheet "er", and not "uml", since the "uml"-sheet lacks the relationship box. "er" only has 5 thingies, but they're really all one needs for er diagrams.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top