summaryrefslogtreecommitdiffstats
path: root/testing/022_dot.cpp
blob: 2db7c387c3338060523e2b6656a512839fcaa781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// objective: test the \dot and \enddot commands
// check: indexpage.xml
// config: HAVE_DOT = YES
// config: DOTFILE_DIRS = .

/*! class B */
class B {};
/*! class C */
class C {};

/*! \mainpage
Class relations expressed via an inline dot graph:
\dot
digraph example {
  node [shape=record, fontname=Helvetica, fontsize=10];
  b [ label="class B" URL="\ref B"];
  c [ label="class C" URL="\ref C"];
  b -> c [ arrowhead="open", style="dashed" ];
}
\enddot
*/