标准 UML 文件格式 [英] Standard UML file format

查看:55
本文介绍了标准 UML 文件格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我根据项目和日期,在不同的工具(StarUML、BoUML、Papyrus、Omondo、Rational Rose 等)中设计了 UML 图(首先是rose,之后是Omondo,然后是starUMl,...,现在是papyrus).但是,我发现我无法打开旧的 UML 图,因为该工具已过时.

I have designed UML diagrams in different tools (StarUML, BoUML, Papyrus, Omondo, Rational Rose, etc.) depending on the project and the date (rose was first, after Omondo, then starUMl, ..., now papyrus). However, I see that I cannot open my old UML diagrams because the tool is obsolete.

我想知道 UML 图是否有标准格式.可能没有在生产中,但至少知道是否有标准格式的提案.

I would like to know if there is a standard format for UML diagrams. Probably not in production, but at least to know if there is proposal of standard format.

可能 Eclipse 正在对 M2 项目做类似的事情,但是其他工具(不是基于 Eclipse 的)是否有兴趣阅读这种格式.?

Probably, Eclipse is doing something like that with the M2 project, but do the other tools (not eclipse based) are interested in reading this format.?

每个 UML 工具都使用自己的格式,但我认为专有格式的时代已经结束,像这样的图表的开放格式应该存在.

Each UML tool uses its own format, but I think the era of proprietary format is over, and open format for diagrams like this should exist.

推荐答案

对此我有两个答案:

  • 理论上,UML 模型的标准交换格式是 XMI,但确实每个供应商实现的版本略有不同,因此交换并不现实.尽管如此,大多数工具正在融合以至少支持 Eclipse MDT-UML2 XMI 实现,在我看来它正在成为 事实上的 XMI 标准.

OMG 正在制定一个新标准:图表定义应该解决当前 XMI 的问题(他们与许多顶级供应商进行了大量合作,以确保这次他们都朝着同一个方向发展),而且同样重要的是,它不仅允许交换数据(即关于模型元素的信息)以及布局和图形表示,以便在导入后您得到的模型与您最初导出的完全相同

The OMG is working on a new standard : Diagram Definition that is supposed to fix the problems with the current XMI one (they are working a lot with many of the top vendors to make sure that this time they all go in the same direction) and, also important, it will allow to interchange not only the data (i.e. the info about the model elements) but also the layout and graphical representation so that after the import you get a model exactly as the same you exported in the first place

这篇关于标准 UML 文件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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