I am trying to draw an interaction diagram with Doxygen, using the external Mscgen utility.
This is the source file:
/// test.h
/** Interaction diagram.
* Test.
* \msc "Test interaction diagram"
* A,B,C;
* B->C;
* A<-B;
* \endmsc
*/
class A {};
class B {};
class C {};
I installed the mscgen.exe
executable, and I set its path in the environment variable.
When running Doxygen, from its log this is all I get in relation to interaction diagrams: "Searching for msc files...".
The final Doxygen output contains a place holder for a missing interaction diagram, and the "Test interaction diagram" label.
I must be missing something in the Doxyfile file. How can I make Doxygen call the mscgen.exe
executable?
Looking at the PNG files generated, the one Doxygen is looking for is missing, so I suppose mscgen.exe
has not run at all.
This is the Doxygen generated HTML code block:
<div align="center">
<img src="../../msc_inline_mscgraph_1.png" alt="msc_inline_mscgraph_1" border="0" usemap="#msc_inline_mscgraph_1.map">
<map name="msc_inline_mscgraph_1.map" id="msc_inline_mscgraph_1.map"></map>
<div class="caption">
Test interaction diagram</div>
</div>