022_dot.cpp
Go to the documentation of this file.
1 // objective: test the \dot and \enddot commands
2 // check: indexpage.xml
3 // config: HAVE_DOT = YES
4 // config: DOTFILE_DIRS = $INPUTDIR
5 
6 /*! class B */
7 class B {};
8 /*! class C */
9 class C {};
10 
11 /*! \mainpage
12 Class relations expressed via an inline dot graph:
13 \dot
14 digraph example {
15  node [shape=record, fontname=Helvetica, fontsize=10];
16  b [ label="class B" URL="\ref B"];
17  c [ label="class C" URL="\ref C"];
18  b -> c [ arrowhead="open", style="dashed" ];
19 }
20 \enddot
21 */
22