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

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

  •  27-10-2019
  •  | 
  •  

Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top