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.
-
2What platform? What language? – Oded Jul 29 '10 at 12:53
-
That's a pretty broad set of requests; "flow charts" answer completely different questions from "class diagrams" – Ira Baxter Aug 09 '10 at 04:38
7 Answers
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.

- 18,787
- 4
- 46
- 77
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:
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

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

- 1,370
- 10
- 25