Re: Source code: class diagram generator
- In reply to: Alexander Leidinger : "Re: Source code: class diagram generator"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Oct 2025 03:59:20 UTC
Awesome stuff! I'm trying out Doxygen+Graphviz and it's been running for a couple of hours. Thank you gents for your help. On Thu, Oct 2, 2025, 03:21 Alexander Leidinger <Alexander@leidinger.net> wrote: > Am 2025-10-02 05:25, schrieb Alan Somers: > > On Wed, Oct 1, 2025 at 7:50 PM Maku Bex <zagazaw2004@gmail.com> 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 Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF >