Files
clang-uml/docs/test_cases/t40002.md
2022-12-26 21:58:34 +01:00

32 lines
903 B
Markdown

# t40002 - Cyclic include graph diagram test case
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
t40002_include:
type: include
# Provide the files to parse in order to look
# for #include directives
glob:
- ../../tests/t40002/src/t40002.cc
- ../../tests/t40002/src/lib1/lib1.cc
- ../../tests/t40002/src/lib2/lib2.cc
# Render the paths relative to this directory
relative_to: ../../../tests/t40002
include:
# Include only files belonging to these paths relative to relative_to
paths:
- .
exclude:
paths:
# Exclude single header relative to relative_to
- include/lib2/lib2_detail.h
plantuml:
before:
- "' t40002 test include diagram"
```
## Source code
## Generated UML diagrams
![t40002_include](./t40002_include.svg "Cyclic include graph diagram test case")