Show HN: PojoViz – Visualize the structure of any JavaScript library, framework
maurizzzio.github.io
maurizzzio.github.io
I think it would be really useful to have a tool that visualizes execution paths of programs to help you understand the general architecture of someone else's project. I believe debugging tools are able to do this to some extent, but I haven't seen anything that exactly fits, especially for JS. I would want to be able to do some interaction (e.g. mouse click) and see a visualization summarizing all the lines of code that were run without stepping through them one-by-one. Maybe this is a direction that PojoViz could go in eventually.
Is this list "discovered" in some way, or is the list of Angular services to inspect hard-coded?
I'm very curious what it looks like!
The good news: your library can now be rendered by pasting the location of your script in the input field The bad news: I see that elm has most of its code under private functions which can be seen after creating an instance, unfortunately PojoViz doesn't do this because it doesn't know how to, anyway if you want to add a custom analyzer is easy as pie, take a look at https://github.com/maurizzzio/PojoViz/tree/master/src/analyz... to see how to make custom analyzers