2

Is there a way to generate diagrams from a code in GitHub ?

Example I want to generate a sequence or class diagram from a code in my GitHub account.

Like generate documentation in Eclipse from a java code

Thanks in advance!

Edson Cezar
  • 25,884
  • 5
  • 19
  • 27
  • 4
    Do `git clone` and then use a tool over the source code e.g. https://stackoverflow.com/questions/6167266/generate-uml-class-diagram-from-java-project – Cratylus Apr 22 '19 at 20:30
  • 1
    @Cratylus this is the answer, you could post it. – muszeo Apr 26 '19 at 05:40

4 Answers4

2

Do git clone of the repo you want and then use any tool you prefer over the source code e.g. Generate UML diagram from java project

Cratylus
  • 52,998
  • 69
  • 209
  • 339
1

There are a lot of standalone tools that can generate those diagrams (i.e. IDEs like IntelliJ, VStudio enterprise, etc.). For direct GitHub to UML diagrams you can try GitUML online service, the counterpart is that this tool only allows to generate diagrams from 4 files in the free layer, I have not tried the payment layer.

manuelbcd
  • 3,106
  • 1
  • 26
  • 39
1

For a beautiful free-for-open-source online solution, see: GitUML

But be aware - as of now, a maximum of four classes can be selected in the free plan - this is not practical.

Alok P
  • 994
  • 1
  • 9
  • 18
1

It's kind of old thread but I think it's a good option for typescript projects, and who knows, some contributors expand it.

TsUML

Theo Oliveira
  • 150
  • 1
  • 9