Files
clang-uml/docs/test_cases/t00055.md
2023-02-04 21:43:16 +01:00

52 lines
748 B
Markdown

# t00055 - Test case for `row` and `column` layout hints
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
t00055_class:
type: class
glob:
- ../../tests/t00055/t00055.cc
include:
namespaces:
- clanguml::t00055
using_namespace:
- clanguml::t00055
layout:
A:
- row: [C, E, G, I]
B:
- column: [D, F, H, J]
```
## Source code
File t00055.cc
```cpp
namespace clanguml {
namespace t00055 {
struct A {
};
struct B {
};
struct C {
};
struct D {
};
struct E {
};
struct F {
};
struct G {
};
struct H {
};
struct I {
};
struct J {
};
}
}
```
## Generated UML diagrams
![t00055_class](./t00055_class.svg "Test case for `row` and `column` layout hints")