35 return element_view<package>::view();
39 const std::string &full_name)
const
41 return find<package>(full_name);
47 return find<package>(
id);
52 LOG_DBG(
"Looking for alias for {}",
id);
54 auto p = find<package>(
id);
55 if (p.has_value() && p.value().id() ==
id)
56 return p.value().alias();
66 auto previous_to_remove_size =
packages().size();
69 std::set<eid_t> to_remove;
73 to_remove.emplace(c.get().id());
77 element_view<package>::remove(to_remove);
82 c.get().apply_filter(
filter(), to_remove);
86 if (previous_to_remove_size ==
packages().size())
96bool check_diagram_type<clanguml::package_diagram::model::diagram>(
diagram_t t)
98 return t == diagram_t::kPackage;