Structural Diagrams for C

I am trying to read and understand the source of the existing project C. I continue to feel that it would be great to draw a UML class diagram so that it helps me better understand the high-level relationships, but, of course, there are no models for modeling.

Is there a formal diagram system that is used to model module relationships in a language other than OO? One that would be at a similar level of abstraction for a UML class diagram.

+4
source share
3 answers

One option is to use Doxygen to map your function tree.

+3
source

The OO paradigm is not a property of a programming language, and it is very possible to make an OO implementation in C (just difficult and not very intuitive). OO design (in UML or any other modeling language) is not tied to a specific language.

Now back to your question. There are many tools for design without OO. You can find a good resume here and choose what suits you best.

+2
source

Try FMC ( http://www.fmc-modeling.org/home ) and the Apache Modeling Project (Apache HTTP Sever is modeled using FMC: http://www.fmc-modeling.org/projects/apache ) as starting point and landmark.

+1
source

Source: https://habr.com/ru/post/1441506/


All Articles