Am 2025-10-02 05:25, schrieb Alan Somers:
On Wed, Oct 1, 2025 at 7:50 PM Maku Bex <[email protected]> wrote:Hello,Is there a tool or application(s) that automatically generates a class diagram from source code?Google search suggests rather inefficient ways to do it and mostly manual labor that would take weeks to complete. I tried AI chats and they pretty much suggested the same methods. Basically, using VScode with a UML extension and manually telling it to add each class and link it....yikes! I also looked into the build systems such as GN, bazel, make, and search for any packages like rust's crates, ruby gems, npm, etc. I hope I'm not wasting my time and looking for a unicorn.Best,I think that Doxygen can do it for C and C++. But preprocessor macros can easily confuse Doxygen, so the results aren't perfect.
To get an idea what Doxygen can do with the FreeBSD code, see:
https://www.leidinger.net/FreeBSD/dox/
Bye,
Alexander.
--
http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org [email protected] : PGP 0x8F31830F9F2772BF
signature.asc
Description: OpenPGP digital signature
