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
  • 69,215
  • 34
  • 177
  • 229

7 Answers7

4
  1. http://www.websequencediagrams.com/
  2. http://yuml.me
rebelliard
  • 9,592
  • 6
  • 47
  • 80
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
  • 18,787
  • 4
  • 46
  • 77
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,732
  • 1
  • 34
  • 44
2

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

Skilldrick
  • 69,215
  • 34
  • 177
  • 229
2

You can also look at StarUML

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

StuartLC
  • 104,537
  • 17
  • 209
  • 285
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
  • 8,152
  • 8
  • 56
  • 91
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,370
  • 10
  • 25