Date: Thu, 2 Oct 2025 22:59:20 -0500 From: Maku Bex <zagazaw2004@gmail.com> To: Alexander Leidinger <Alexander@leidinger.net> Cc: Alan Somers <asomers@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Source code: class diagram generator Message-ID: <CALvWPybNhqVAGOeFGM42uyidWkLVjjrsOpB5BGB-w39Lx-sKnA@mail.gmail.com> In-Reply-To: <01caf55e927fc5cb451b44fc325e669e@Leidinger.net> References: <CALvWPyYuXfgNZWnXvK-WDKv%2Bg%2BW-wnqm_nQ%2Bw2b9KkRNRs5QiA@mail.gmail.com> <CAOtMX2iP13XghF09pNWepn9NTj_Rtnn9HNODanfJGXPX4bBBkQ@mail.gmail.com> <01caf55e927fc5cb451b44fc325e669e@Leidinger.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 > [-- Attachment #2 --] <div dir="auto">Awesome stuff! I'm trying out Doxygen+Graphviz and it's been running for a couple of hours. <div dir="auto"><br></div><div dir="auto">Thank you gents for your help.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Oct 2, 2025, 03:21 Alexander Leidinger <<a href="mailto:Alexander@leidinger.net">Alexander@leidinger.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"> <p id="m_438623326505815075reply-intro">Am 2025-10-02 05:25, schrieb Alan Somers:</p> <blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0"> <div id="m_438623326505815075replybody1"> <div dir="ltr"> <div> <div dir="ltr">On Wed, Oct 1, 2025 at 7:50 PM Maku Bex <<a href="mailto:zagazaw2004@gmail.com" rel="noreferrer noreferrer" target="_blank">zagazaw2004@gmail.com</a>> wrote:</div> <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid #cccccc;padding-left:1ex"> <div dir="auto">Hello, <div dir="auto"> </div> <div dir="auto">Is there a tool or application(s) that automatically generates a class diagram from source code?</div> <div dir="auto"> </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's crates, ruby gems, npm, etc. I hope I'm not wasting my time and looking for a unicorn.</div> <div dir="auto"> </div> <div dir="auto">Best,</div> </div> </blockquote> <div> </div> <div> I think that Doxygen can do it for C and C++. But preprocessor macros can easily confuse Doxygen, so the results aren't perfect.</div> </div> </div> </div> </blockquote> <p>To get an idea what Doxygen can do with the FreeBSD code, see:</p> <p> <a href="https://www.leidinger.net/FreeBSD/dox/" target="_blank" rel="noreferrer">https://www.leidinger.net/FreeBSD/dox/</a></p> <p><br></p> <p>Bye,<br>Alexander.</p> <div id="m_438623326505815075signature">-- <br> <div style="margin:0;padding:0;font-family:monospace"><a href="http://www.Leidinger.net" rel="noopener noreferrer noreferrer" target="_blank">http://www.Leidinger.net</a> <a href="mailto:Alexander@Leidinger.net:" target="_blank" rel="noreferrer">Alexander@Leidinger.net:</a> PGP 0x8F31830F9F2772BF<br><a href="http://www.FreeBSD.org" rel="noopener noreferrer noreferrer" target="_blank">http://www.FreeBSD.org</a> <a href="mailto:netchild@FreeBSD.org" target="_blank" rel="noreferrer">netchild@FreeBSD.org</a> : PGP 0x8F31830F9F2772BF</div> </div> </div> </blockquote></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALvWPybNhqVAGOeFGM42uyidWkLVjjrsOpB5BGB-w39Lx-sKnA>
