Is there any stand-alone tools (not Eclipse or Idea plugins) for generating class diagram from Scala source files?
Asked
Active
Viewed 1.4k times
2 Answers
23
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:

MikeeMike
- 1,474
- 1
- 12
- 7
-
It fails to compile because of unresolved dependencies: com.typesafe.sbteclipse#sbteclipse-plugin;4.0.0: not found, com.github.mpeltonen#sbt-idea;1.6.0: not found, com.eed3si9n#sbt-assembly;0.14.0: not found – Darko Sep 19 '19 at 12:04
-
For people still looking, found this project that creates proper UML diagrams for Scala projects : https://github.com/tizuck/scala-uml – leas Oct 25 '21 at 07:52
11

Mouna Cheikhna
- 38,870
- 10
- 48
- 69
-
1It is an eclipse plugin but I am searching for stand-alone tool (I want to write an sbt plugin). – Andrey Kuznetsov Aug 29 '11 at 09:06
-
5Talk to the maintainers of Acceleo and see if you can re-use Acceleo core (the bit with the Eclipse glue stripped off) with sbt. No need re-inventing the wheel :) – opyate Sep 07 '11 at 08:35
-
7Is Acceleo actually capable of generating a diagram from Scala source code? As far as I know, and as it is demonstrated in the example above, it can output a source code based on a given model, but not the other way round (that was the point of the question). – falconepl Apr 05 '14 at 19:34