Added participant generation in sequence diagrams

This commit is contained in:
Bartek Kryza
2022-10-24 01:09:40 +02:00
parent 1fe9918c1a
commit ad5ec1c973
7 changed files with 63 additions and 24 deletions

View File

@@ -157,11 +157,11 @@ struct method : public participant {
std::string type_name() const override { return "method"; }
const std::string method_name() const {
return method_name_;
}
const std::string method_name() const { return method_name_; }
void set_method_name(const std::string& name) { method_name_ = name; }
std::string alias() const override;
void set_method_name(const std::string &name) { method_name_ = name; }
void set_class_id(diagram_element::id_t id) { class_id_ = id; }