为 Rails 应用程序自动生成 UML 图的工具

发布于 2024-09-18 20:46:12 字数 99 浏览 2 评论 0原文

正在寻找一个好的工具/gem,可以为现有的 Rails 应用程序自动生成漂亮的 UML 图。

(我想象这样的工具会读取 schema.rb 文件,然后扫描模型的关系)

Looking for a good tool/gem that can automatically generate a nice looking UML diagram for an existing rails application.

(Im imagining such a tool would read the schema.rb file and then scan the models for relationships)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

海风掠过北极光 2024-09-25 20:46:12

对于 Rails 3,请尝试 Railroady,它也得到了维护。

For Rails 3, try Railroady, it's maintained as well.

愁以何悠 2024-09-25 20:46:12

您可以尝试使用 Rails ERD 作为 Railroad 的替代品。它是专门为 Rails 3 维护和工作的。

You could try Rails ERD as a an alternative to Railroad. It is maintained and works specifically for Rails 3.

客…行舟 2024-09-25 20:46:12

RubyMine 有一个工具可以做到这一点;他们称之为“模型依赖图”,但它会为您的应用程序模型生成类似 UML 的图。

如果您不想使用 RubyMine,请查看 RailRoad。它是一个独立的工具,具有类似的功能,但在我看来,RubyMine 的更漂亮。

RubyMine has a tool to do this; they call it a "model dependency diagram", but it generates a UML-like graph for your application models.

If you don't want to use RubyMine, check out RailRoad. It's a standalone tool that does similar, though RubyMine's is prettier, IMO.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文