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

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

  •  16-04-2021
  •  | 
  •  

문제

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