4

is there any tool available, to make a flow diagram or Flow Chart out of code. or make any other diagram like class diagram from the code.

Skilldrick
  • 67,147
  • 33
  • 171
  • 227

7 Answers7

4
  1. http://www.websequencediagrams.com/
  2. http://yuml.me
rebelliard
  • 9,472
  • 6
  • 45
  • 78
2

Use the yED ( http://www.yworks.com/en/products_yed_about.html ). It is an excellent free flowchart editor that works on every modern operating system java works on.

I see people recommended UML tools. The only UML diagram that can be used instead of a typical flow-chart is the UML state diagram. Somehow I always found typical flow-charts to be more easy to understand by a person who has no technical background than UML state diagrams.

DejanLekic
  • 17,326
  • 3
  • 42
  • 73
2

I have answered this here https://stackoverflow.com/a/22479409/403571

code2flow is an online pseudo-code to flowchart generator which should do what you ask, just click on the image to play with it:

code2flow

Community
  • 1
  • 1
RushPL
  • 4,562
  • 1
  • 32
  • 44
2

As you've now said it's Java, here you go:

Skilldrick
  • 67,147
  • 33
  • 171
  • 227
2

You can also look at StarUML

CASE tools like Rational Rose also do this, but for a price.

StuartLC
  • 100,561
  • 17
  • 199
  • 269
2

You may also want to consider Code Rocket. It can produce flowcharts (and pseudocode) from Java code. You can find more information about it here: http://www.rapidqualitysystems.com

Disclaimer: I am a developer on Code Rocket

Hope this helps.

Alan

Alan Spark
  • 7,956
  • 8
  • 52
  • 89
1

Use the UML plugin in Netbeans 6.7.1 and Reverse Engineer. Unfortunately, the UML plugin is not available in later versions of NetBeans.

OliCoder
  • 1,340
  • 10
  • 25