Live data from Hacker News

Show HN: PojoViz – Visualize the structure of any JavaScript library, framework

maurizzzio.github.io

1–10 of 21 posts

Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework

#8
This is a pretty interesting concept, but the site doesn't do a good job of explaining exactly what it does. A realistic step-by-step example would help a lot. Is it doing some kind of static analysis, or is it looking at the object graph at some specified point in the program's execution?

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.

Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework

#9
post #7

Whew, maybe I'm just thick, but it took me four tries to select a library, export the global, and all I see is "uncaught exception: error getting the key".

hi there, could you tell me what library you selected please?

Re: Show HN: PojoViz – Visualize the structure of any JavaScript library, framework

#10

Looks like you can only see existing libraries on cdnjs? The version of elm-runtime is about 4-5 versions old.

Yes, most of the external scripts I use in my projects are fetched from this place, I'll be glad to add the resource you want :)
Post reply on HN