6

I am searching for a tool (preferably works offline) but couldn't find any.how can generate flow chart. i.e flow chart for a method or for the main method of the class.

I am aware of Sequence diagrams and its plugin for IntelliJ. but I am looking searching for a tool which generates flow charts instead of the sequence.

Akhil Surapuram
  • 654
  • 1
  • 8
  • 22
  • As my answer is the only one provided for your question - please consider selecting it at the right one. Thank you for your time. – Rann Lifshitz Apr 29 '19 at 04:43
  • Has anyone found any tools yet?. There is one lucrative tool named as findtheflow but I cannot make it work either in standalone mode or intellij. – coretechie May 20 '22 at 08:46

1 Answers1

12

You can try the SequenceDiagram for IntelliJ IDEA plugin.
It generates simple sequence diagrams which are a visible representation of code flows (via the method calls).

As for flow charts specifically (unfortunately I did not find an IntelliJ solution):
You can try the online code2flow which is a simple `paste code and edit the generated chart' solution. Obviously, it is not a part of IntelliJ but it will get the job done.
Another option is the FateSoft application, which generates flow charts for multiple programming languages. Simply install the tool on your workstation and parse the desired code in the app, while selecting the start and end line of code from which to generate the flow chart.


References:

Rann Lifshitz
  • 4,040
  • 4
  • 22
  • 42