从 Scala 源生成 UML 图

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7227952/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 03:24:33  来源:igfitidea点击:

Generating UML diagram from Scala sources

scalaumldiagramclass-diagram

提问by Andrey Kuznetsov

Is there any stand-alone tools (not Eclipse or Idea plugins) for generating class diagram from Scala source files?

是否有用于从 Scala 源文件生成类图的独立工具(不是 Eclipse 或 Idea 插件)?

采纳答案by Mouna Cheikhna

try Acceleosee an example of using it with scala here

尝试Acceleo在此处查看将其与 Scala 一起使用的示例

回答by MikeeMike

I had exactly this problem and couldn't find anything that would quickly draw a hierarchy from some Scala source code so I ended up creating something to do it. I've put it on GitHub in case it's useful to anyone else:

我正是有这个问题,找不到任何可以从一些 Scala 源代码中快速绘制层次结构的东西,所以我最终创建了一些东西来做它。我已将其放在 GitHub 上,以防对其他人有用:

https://github.com/mikeyhu/scaladiagrams

https://github.com/mikeyhu/scaladiagrams