Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Intriguing - what’s the default visualisation? You mentioned treemaps, so a treemap of each directory with the files inside that you can zoom into to see the code? How is tree-sitter helping you here?


Treemaps are the default, and are great for finding outliers with heatmaps, but terrible in terms of explainability. So now I'm heading into architecture diagram territory, and tree-sitter is helping with extracting the names of classes, functions, variables etc. LLMs can make decent diagrams out of this.


Very cool! I see how you can do zoom-to-code on a treemap, but the diagrams then need to be more abstract and without code, right?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: