从Doctrine注释生成UML类图的工具 [英] Tool for generating UML class diagram from Doctrine annotations

查看:197
本文介绍了从Doctrine注释生成UML类图的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个可以从Doctrine的@ORM注释生成UML类图的工具。特别显示实体之间的关系将是有用的。有没有这样的工具?

解决方案

这个答案是框架特定的,但是我正在为这个工具添加支持 doctrine / common ,所以如果您使用symfony或CI或其他框架,这也可能即将推出。



如果您正在使用。


I am looking for a tool that would generate an UML class diagram from Doctrine's @ORM annotations. Especially showing the relations between entities would be useful. Is there any such tool?

解决方案

This answer is framework-specific, but I'm working on adding support for this tool in doctrine/common, so if you are using symfony or CI or other frameworks, this may also be available soon.

If you are using Zend Framework 2.1 (as I'm writing) and follow my tutorial on installing Doctrine 2 ORM with ZF2, the developer toolbar will give you the ability to generate a diagram of all the entities with their relations, as of following picture:

The tool is not yet perfect, but you may find it and help improve it in DoctrineORMModule.

这篇关于从Doctrine注释生成UML类图的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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