81 std::vector<std::unique_ptr<filter_visitor>>
build(
84 template <
typename FT,
typename T,
typename... Args>
86 const std::vector<T> &filter_config,
87 std::vector<std::unique_ptr<filter_visitor>> &result, Args &&...args)
89 if (!filter_config.empty()) {
90 auto filter = std::make_unique<FT>(
91 filter_type, filter_config, std::forward<Args>(args)...);
92 filter->set_mode(filter_mode_t::advanced);
93 result.emplace_back(std::move(filter));
101 const std::vector<common::string_or_regex> &filter_config,
102 std::vector<std::unique_ptr<filter_visitor>> &result,
relationship_t &&rt,
107 static std::unique_ptr<diagram_filter>
create(
110 auto filter = std::make_unique<diagram_filter>(