Having graphs in main page of doxygen

旧城冷巷雨未停 提交于 2019-12-12 01:27:19

问题


I have used the following code to have a graph in main page of doxygen

/*! \mainpage
\dot
 digraph example{
 node[shape=record, fontname=Helvetica, fontsize=10];
 b [label="class cell_deinterleaver"  URL= "\ref Cell_deinterleaver" ];
 c [label="class freq_deinterleaver" URL= "\ref freq_deinterleaver" ];
 b -> c [arrowhead= "open", style = "dashed"];
 }
 \endot
 */

But I get the following message "reached end of file while inside a dot block! The command that should end the block seems to be missing!"

Can anyone help?

Thanks.


回答1:


The solution is like the message says:

warning: reached end of file while inside a dot block! The command that should end the block seems to be missing!

it is the mistake that is easily overlooked, written is \endot this should be \enddot (note the double d)



来源:https://stackoverflow.com/questions/53913542/having-graphs-in-main-page-of-doxygen

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!