Refactored sequence diagram generator to cppast

This commit is contained in:
Bartek Kryza
2021-10-14 23:41:25 +02:00
parent d7c127d624
commit 4a4dff119f
15 changed files with 190 additions and 164 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
namespace clanguml::sequence_diagram::model {
struct activity {
std::string usr;
std::uint_least64_t usr;
std::string from;
std::vector<message> messages;
};
+1 -1
View File
@@ -28,7 +28,7 @@ struct diagram {
bool started{false};
std::string name;
std::map<std::string, activity> sequences;
std::map<std::uint_least64_t, activity> sequences;
};
}
+2 -2
View File
@@ -27,9 +27,9 @@ namespace clanguml::sequence_diagram::model {
struct message {
message_t type;
std::string from;
std::string from_usr;
std::uint_least64_t from_usr;
std::string to;
std::string to_usr;
std::uint_least64_t to_usr;
std::string message;
std::string return_type;
unsigned int line;