Added support for 'together' option in class diagrams without rendered namespaces
This commit is contained in:
@@ -468,6 +468,10 @@ template <> struct convert<layout_hint> {
|
||||
rhs.hint = hint_t::right;
|
||||
rhs.entity = node["right"].as<std::string>();
|
||||
}
|
||||
else if (node["together"]) {
|
||||
rhs.hint = hint_t::together;
|
||||
rhs.entity = node["together"].as<std::vector<std::string>>();
|
||||
}
|
||||
else
|
||||
return false;
|
||||
|
||||
@@ -645,7 +649,8 @@ config load(
|
||||
doc["git"] = git_config;
|
||||
}
|
||||
|
||||
return doc.as<config>();
|
||||
auto d = doc.as<config>();
|
||||
return d;
|
||||
}
|
||||
catch (YAML::BadFile &e) {
|
||||
throw std::runtime_error(fmt::format(
|
||||
|
||||
Reference in New Issue
Block a user