# t30008 - Dependants and dependencies package diagram filter test
## Config
```yaml
compilation_database_dir: ..
output_directory: puml
diagrams:
  t30008_package:
    type: package
    glob:
      - ../../tests/t30008/t30008.cc
    include:
      dependants:
        - clanguml::t30008::dependants::A
      dependencies:
        - clanguml::t30008::dependencies::F
    using_namespace:
      - clanguml::t30008
    plantuml:
      before:
        - "' t30008 test package diagram"
```
## Source code
File t30008.cc
```cpp
namespace clanguml {
namespace t30008 {

namespace dependants {
namespace X {
}
namespace A {
struct AA {
};
}
namespace B {
struct BB {
    A::AA *aa;
};
}
namespace C {
struct CC {
    B::BB *bb;
};
}

} // namespace dependants

namespace dependencies {
namespace Y {
}

namespace D {
struct DD {
};
}
namespace E {
struct EE {
    D::DD *dd;
};
}
namespace F {
struct FF {
    E::EE *ee;
};
}
} // namespace dependencies

} // namespace t30008
} // namespace clanguml
```
## Generated UML diagrams
![t30008_package](./t30008_package.svg "Dependants and dependencies package diagram filter test")
