7

Is there any software that visualizes algorithms from code? As a flow chart of something similar. Not dependencies, inheritance and that kind of thing, but the code inside a function, or a series of functions.

Egor Pavlikhin
  • 17,503
  • 16
  • 61
  • 99
  • I'm voting to close this question, While it does provide some valuable insite to the community. It's a clear violation of our guidelines (Software Recomendations, and could potentially cause issues, because it could be seen as an audit in the review queue) – johnny 5 May 01 '19 at 19:33

3 Answers3

6

I don't know about inside a function, but VS2010 has sequence diagram generation from code - see here or here

Sequence diagram

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Marc Gravell
  • 1,026,079
  • 266
  • 2,566
  • 2,900
3

I think you may be looking for Code Rocket.

It provides flowchart and pseudocode visualizations of code methods and algorithms, embedded directly inside Visual Studio and Eclipse - and there is a separate Designer application for working outwith IDEs too.

CdeeR
  • 31
  • 1
2

AiVosto has a set of tools to visualize source code from many languages: Visustin. It is on the market since a long time. I tried it a very long time ago, was not 100% convinved. Maybe you want to give it a try and evaluate if it's worth the money for you.

For me it was so that in order to understand some complex algorithm, I have anyway to experiment with it, having a graph helps a bit but as a coder you probably can visualize loops and decision trees well without software. I don't want to discourage you from using that, just try it out before investing money, having graphs is nice but shall also be useful.

jdehaan
  • 19,700
  • 6
  • 57
  • 97