使用DIA绘图程序,如何在关系线上添加基数符号?
我正在使用 DIA v0.97.1 为我的数据库模型绘制带有 UML 表的实体关系图。然而,我尝试但未能找到一个允许我在这些关系线上添加基数符号(例如 1...n)的开关。 Dia有这样的功能吗?或者我必须安装一些插件?谢谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
关系的基数在关系框中设置。双击它可以找到它的属性。前三个属性是名称、左基数和右基数:) 这样它们就保持锁定到关系框而不是行。这实际上更有意义。
另外,请确保您使用的是模型表“er”,而不是“uml”,因为“uml”表缺少关系框。 “er”只有 5 个东西,但它们确实是 er 图所需的全部。
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.