Reverse engineering from c-code to sequence diagram

I have c code, and I want to extract some code templates that contains instructions for exchanging data, etc., and build a sequence diagram from this.

Can I do this?

thank

+3
source share
2 answers

You can use pic2plot, which is part of the GNU plotutils. You need to record / track what it says with what, with the file, and then you can do it with pic2plot. I did this for a Python program, but there is no reason why you cannot do this with a C program.

sequence diagram
(source: umlgraph.org )

see http://www.umlgraph.org/

+1
source

doxygen :

EXTRACT_ALL            = YES
CALL_GRAPH             = YES
CALLER_GRAPH           = YES
GRAPHICAL_HIERARCHY    = YES

, . C, .

http://pedro.larroy.com/files/example.png

+1

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


All Articles