Files
clang-uml/docs/test_cases/t40001.md
2023-01-18 21:38:37 +01:00

31 lines
972 B
Markdown

# t40001 - Basic include graph diagram test case
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
t40001_include:
type: include
# Provide the files to parse in order to look
# for #include directives
glob:
- ../../tests/t40001/src/t40001.cc
# Render the paths relative to this directory
relative_to: ../../../tests/t40001
# Include also external system headers
generate_system_headers: true
include:
# Include only headers belonging to these paths
paths:
- .
plantuml:
before:
- "' t40001 test diagram of type {{ diagram.type }}"
after:
- 'note right of {{ alias("include/lib1") }}: This is a lib1 include dir'
- 'note right of {{ alias("include/t40001_include1.h") }}: This is a t40001_include1.h include file'
```
## Source code
## Generated UML diagrams
![t40001_include](./t40001_include.svg "Basic include graph diagram test case")