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