Added sequence diagram option participants_order

This commit is contained in:
Bartek Kryza
2022-12-17 00:42:15 +01:00
parent 6454604595
commit 5d4dfbb4b1
7 changed files with 132 additions and 94 deletions

View File

@@ -594,6 +594,7 @@ template <> struct convert<sequence_diagram> {
get_option(node, rhs.start_from);
get_option(node, rhs.combine_free_functions_into_file_participants);
get_option(node, rhs.relative_to);
get_option(node, rhs.participants_order);
rhs.initialize_type_aliases();

View File

@@ -144,6 +144,7 @@ struct inheritable_diagram_options {
"comment_parser", comment_parser_t::plain};
option<bool> combine_free_functions_into_file_participants{
"combine_free_functions_into_file_participants", false};
option<std::vector<std::string>> participants_order{"participants_order"};
void inherit(const inheritable_diagram_options &parent);