Refactored sequence diagram generator to cppast
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user