Added PlantUML links generation in class diagrams

This commit is contained in:
Bartek Kryza
2022-03-20 22:57:17 +01:00
parent 3c30350edc
commit d7e27841bc
15 changed files with 351 additions and 14 deletions

View File

@@ -34,4 +34,12 @@ std::string class_element::name() const { return name_; }
std::string class_element::type() const { return type_; }
inja::json class_element::context() const
{
inja::json ctx;
ctx["name"] = name();
ctx["type"] = type();
ctx["scope"] = to_string(scope());
return ctx;
}
}