| ▲ | bigiain 2 days ago | ||||||||||||||||
> static analysis tools that produce flowcharts and diagrams like this have existed since antiquity Today I am apparently on of xkcd's "Lucky 10,000". Does anyone have any recommendations for such tools? Ideally open source, but that's not a hard requirement. (Although "Enterprise - if you have to ask the price you can't afford it" options will not work for me.) I'm particularity interested tools that work with Python, Java, and Javascript (Angular flavoured Javascript, it if matters)? | |||||||||||||||||
| ▲ | szjanikowski a day ago | parent | next [-] | ||||||||||||||||
We are building https://noesis.vision/ a similar tool to extract the system architecture from the source code according to the patterns. We are now in beta for .NET. After working with the topic for multiple months I can tell you that introductions for new-joiners are not the only use case for this kind of extracted knowledge. Many ppl in the organizations need insights into the software structure as they either impact decisions shaping this structure (e.g. analysts) or depend on the decisions about this structure (e.g. testers, or support agents) It's all the matter of giving access to reliable architecture knowledge structured by a consistent ontology. Garbage in / garbage out - the higher the knowledge quality, the better the output - both for human and agentic knowledge consumers. | |||||||||||||||||
| |||||||||||||||||
| ▲ | seafisher a day ago | parent | prev | next [-] | ||||||||||||||||
I'm currently building one based on tree-sitter: https://github.com/CRJFisher/code-charter. It's still in development but will be released soon (this year). Will support Python, JS/TS, Rust to begin with others (like Java) to follow. | |||||||||||||||||
| ▲ | gnarlouse 2 days ago | parent | prev | next [-] | ||||||||||||||||
https://www.ensoftcorp.com/products/atlas is the Java/c oriented flavor I'm most familiar with. I've used them for Javascript before previously, although I'd have to do some digging to find the particular package I used. I am confident that you could find one with an npm/pypi search. | |||||||||||||||||
| ▲ | recursivecaveat a day ago | parent | prev | next [-] | ||||||||||||||||
It's been a few years, but I remember jetbrains IDEs had these, though I'm not totally sure it was built-in rather than a plugin. Personally I find automated diagrams are not that useful. You generally need to have some understanding of what's happening to know what to hide and collapse to tame the spaghetti. So it needs someone in the know to be explanatory, and as a tool it requires a similar amount of fiddling to just drawing some boxes in slideware. | |||||||||||||||||
| ▲ | swyx 20 hours ago | parent | prev [-] | ||||||||||||||||
one of my earliest blogposts at Netlify https://www.netlify.com/blog/2018/08/23/how-to-easily-visual... | |||||||||||||||||