How to use Trace2UML together with Doxygen
From Doxygen version 1.5.3 doxygen supports sequence charts inside thedocumentation. Original doxygen works together with mscgen(a tool similar to Trace2UML).
But because Trace2UML is now call compatible with mscgen, you can useTrace2UML instead. The only thing you have to do by hand, is to RENAME"Trace2UML.exe" into "mscgen.exe" (or do a symbolic link, onLinux). This is because Doxygen has the tool name hard coded in its binary (maybethis will change one day ;-)
So follow the Doxygen documentation to insert a sequence diagram with thecommands "\msc" and "\endmsc" but use Trace2UML syntax todescribe the sequence diagram:
|
Than Doxygen will place the following graphic into your documentation:
本文介绍如何结合使用Trace2UML和Doxygen来为文档生成序列图。从Doxygen 1.5.3版本开始,支持在文档中插入序列图,并且可以使用mscgen或兼容的Trace2UML进行描述。文章详细说明了配置过程及语法示例。

1831

被折叠的 条评论
为什么被折叠?



