Added support for iterating over diagram elements from inja templates (fixes #54)

This commit is contained in:
Bartek Kryza
2022-09-15 23:36:29 +02:00
parent 693a09e20d
commit 17db587426
20 changed files with 115 additions and 20 deletions

View File

@@ -74,6 +74,8 @@ public:
virtual bool should_include(
const namespace_ &ns, const std::string &name) const;
virtual inja::json context() const = 0;
private:
std::string name_;
std::unique_ptr<diagram_filter> filter_;