Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2025 21:25:30 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Maku Bex <zagazaw2004@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Source code: class diagram generator
Message-ID:  <CAOtMX2iP13XghF09pNWepn9NTj_Rtnn9HNODanfJGXPX4bBBkQ@mail.gmail.com>
In-Reply-To: <CALvWPyYuXfgNZWnXvK-WDKv%2Bg%2BW-wnqm_nQ%2Bw2b9KkRNRs5QiA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
<div dir="ltr"><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Oct 1, 2025 at 7:50 PM Maku Bex &lt;<a href="mailto:zagazaw2004@gmail.com">zagazaw2004@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello,<div dir="auto"><br></div><div dir="auto">Is there a tool or application(s) that automatically generates a class diagram from source code?</div><div dir="auto"><br></div><div dir="auto">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&#39;s crates, ruby gems, npm, etc. I hope I&#39;m not wasting my time and looking for a unicorn.</div><div dir="auto"><br></div><div dir="auto">Best,</div></div></blockquote><div><br></div><div> I think that Doxygen can do it for C and C++.  But preprocessor macros can easily confuse Doxygen, so the results aren&#39;t perfect.</div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2iP13XghF09pNWepn9NTj_Rtnn9HNODanfJGXPX4bBBkQ>