Re: Source code: class diagram generator
- Reply: Maku Bex : "Re: Source code: class diagram generator"
- In reply to: Alan Somers : "Re: Source code: class diagram generator"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Oct 2025 08:20:42 UTC
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