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.