如何简化UML类图继承符号? [英] How can I simplify an UML class diagram inheritance notation?

查看:161
本文介绍了如何简化UML类图继承符号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个超类,其他40个clase都继承了,在这一点上,我想简化图,确切地说,所有继承关系(40个关系指向一个类)所有这些箭头都使绘制一个完整的烂摊子,是否可以简化它?

I have a super class, that 40 other clases inherit, at this point I would like to simplify the diagram, to be exact all the inheritance relations (40 relations point to a single class) all these "arrows" just make the diagram a complete mess, Is it posible to simplify this?

推荐答案

在UML规范中没有直接的方法可以简化这种情况,但实际上是要从一个类继承40个类?我认为您可能需要重新考虑设计。

There is no direct way to simplify such case in UML Specs, but really 40 classes to inherit from one class? I think you may need to re-consider your design again.

通常,您可以从类中省略属性和方法,至少这样更好。

In general, you can omit attributes and methods from classes, that way is better at least.

这篇关于如何简化UML类图继承符号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆