Added diagram templates to config
This commit is contained in:
@@ -50,6 +50,11 @@ struct plantuml {
|
||||
void append(const plantuml &r);
|
||||
};
|
||||
|
||||
struct diagram_template {
|
||||
common::model::diagram_t type;
|
||||
std::string jinja_template;
|
||||
};
|
||||
|
||||
struct filter {
|
||||
std::vector<common::model::namespace_> namespaces;
|
||||
|
||||
@@ -218,6 +223,9 @@ struct config : public inheritable_diagram_options {
|
||||
"compilation_database_dir", "."};
|
||||
option<std::string> output_directory{"output_directory"};
|
||||
|
||||
option<std::map<std::string, diagram_template>> diagram_templates{
|
||||
"diagram_templates"};
|
||||
|
||||
std::map<std::string, std::shared_ptr<diagram>> diagrams;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user