4 ms·
> - Why isn't diagram generation automated as part of the build process (UML or otherwise)? I've had a related thought/desire percolating... roughly: I wonder
by abathur 4y ago
> - Why isn't diagram generation automated as part of the build process (UML or otherwise)?
I've had a related thought/desire percolating... roughly: I wonder what interesting levers we could build if it was normalized (for both toolchains and projects) to create and publish the plaintext relationship graphs in a common easily-reused format.
I'll self-reply to elaborate a bit.
- abathur 4y agoFor a concrete example, I've been developing a tool (https://github.com/abathur/resholve https://github.com/abathur/resholve) that can ~build/link Bash/Shell scripts--i.e., rewrite them with external executables converted to absolute paths. (This helps ensure dependencies are known, declared, present, and don't have to be on the global PATH for the script to execute cleanly.) There's a devilish sub-problem, which is that any given executable can potentially exec arbitrary arguments. For now I handle this with a very crude automated binary/executable analysis that needs to be augmented by human source analysis. Deep multi-language source analysis wouldn't be very scalable, but I suspect fairly-standardized structural annotations could improve the results in a scalable way. I have to imagine there are other applications of the same information.