Jump to content

reverse engineer javascript into flow chart


makata

Recommended Posts

It sounds like an extremely difficult task to build a program that generates a flowchart for Javascript, however, here's one I found (thanks Google): http://code-to-flow-chart-generator.soft112.com/

Don't expect to find a program that's free, it's a considerable task to build such a program.

I can't promise that it will work perfectly, Javascript is an ever-changing language and an older program might not know how to interpret newer Javascript.

Link to comment
Share on other sites

isn't all javascript basically a (oversimplified) flow chart of this?

​         Start                                                      Yes                      |                                                    -------------------------|           |                                                    |                        |           |<--------------------<------------           _______|_______                 |           |                     |           |          /                        _______v_________       ____v______               |           |         /     Was the       No   | You are likely  |      / Has any                 |           |             Developer    /------>|   confused      |     /    event     ____________|           | No        Console open? /        |_________________|       triggered? /     No                  |           _____________/                 |      ___________/                       ___|____               ^                       |            |                            /                      |                       |            |       ______________      / Did an              __|__                     |      Yes   |      |              |    /  uncaught    Yes    |     |                    v            ------>|  Run Handler |---> error get  /-------->| Die |                   End                   |______________|       thrown? /          |_____|                                         ________/
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...