Changed 'start_from' to simply 'from' in sequence diagrams

This commit is contained in:
Bartek Kryza
2023-08-31 23:26:53 +02:00
parent 51e0275db3
commit e830195fb7
40 changed files with 136 additions and 78 deletions

View File

@@ -691,7 +691,7 @@ void generator::generate_diagram(nlohmann::json &parent) const
json_["sequences"].push_back(std::move(sequence));
}
for (const auto &sf : config().start_from()) {
for (const auto &sf : config().from()) {
if (sf.location_type == location_t::function) {
common::model::diagram_element::id_t start_from{0};
std::string start_from_str;

View File

@@ -488,7 +488,7 @@ void generator::generate_diagram(std::ostream &ostr) const
}
}
for (const auto &sf : config().start_from()) {
for (const auto &sf : config().from()) {
if (sf.location_type == location_t::function) {
common::model::diagram_element::id_t start_from{0};
for (const auto &[k, v] : model().sequences()) {