Blame testing/022_dot.cpp
|
Packit Service |
50c9f2 |
// objective: test the \dot and \enddot commands
|
|
Packit Service |
50c9f2 |
// check: indexpage.xml
|
|
Packit Service |
50c9f2 |
// config: HAVE_DOT = YES
|
|
Packit Service |
50c9f2 |
// config: DOTFILE_DIRS = $INPUTDIR
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
/*! class B */
|
|
Packit Service |
50c9f2 |
class B {};
|
|
Packit Service |
50c9f2 |
/*! class C */
|
|
Packit Service |
50c9f2 |
class C {};
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
/*! \mainpage
|
|
Packit Service |
50c9f2 |
Class relations expressed via an inline dot graph:
|
|
Packit Service |
50c9f2 |
\dot
|
|
Packit Service |
50c9f2 |
digraph example {
|
|
Packit Service |
50c9f2 |
node [shape=record, fontname=Helvetica, fontsize=10];
|
|
Packit Service |
50c9f2 |
b [ label="class B" URL="\ref B"];
|
|
Packit Service |
50c9f2 |
c [ label="class C" URL="\ref C"];
|
|
Packit Service |
50c9f2 |
b -> c [ arrowhead="open", style="dashed" ];
|
|
Packit Service |
50c9f2 |
}
|
|
Packit Service |
50c9f2 |
\enddot
|
|
Packit Service |
50c9f2 |
*/
|
|
Packit Service |
50c9f2 |
|