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

920 B

t00053 - Test case for together layout hint in class diagram

Config

compilation_database_dir: ..
output_directory: puml
diagrams:
  t00053_class:
    type: class
    glob:
      - ../../tests/t00053/t00053.cc
    include:
      namespaces:
        - clanguml::t00053
    using_namespace:
      - clanguml::t00053
    layout:
      a:
        - together: [c,e,f]
      A:
        - together: [C,E,F]
      h:
        - together: [j]

Source code

File t00053.cc

namespace clanguml {
namespace t00053 {
struct a {
};
struct b {
};
struct c {
};
struct d {
};
struct e {
};
struct f {
};
struct g {
};

struct A {
};
struct B {
};
struct C {
};
struct D {
};
struct E {
};
struct F {
};
struct G {
};

enum class h { hhh };
enum class i { iii };
enum class j { jjj };

}
}

Generated UML diagrams

t00053_class