Added combine_free_functions_into_file_participants sequence diagram option

This commit is contained in:
Bartek Kryza
2022-12-09 00:10:38 +01:00
parent 6478cffa27
commit caf0ae7928
14 changed files with 212 additions and 12 deletions

View File

@@ -101,6 +101,8 @@ void inheritable_diagram_options::inherit(
base_directory.override(parent.base_directory);
relative_to.override(parent.relative_to);
comment_parser.override(parent.comment_parser);
combine_free_functions_into_file_participants.override(
combine_free_functions_into_file_participants);
}
std::string inheritable_diagram_options::simplify_template_type(
@@ -589,6 +591,8 @@ template <> struct convert<sequence_diagram> {
return false;
get_option(node, rhs.start_from);
get_option(node, rhs.combine_free_functions_into_file_participants);
get_option(node, rhs.relative_to);
rhs.initialize_type_aliases();

View File

@@ -142,6 +142,8 @@ struct inheritable_diagram_options {
option<type_aliases_t> type_aliases{"type_aliases"};
option<comment_parser_t> comment_parser{
"comment_parser", comment_parser_t::plain};
option<bool> combine_free_functions_into_file_participants{
"combine_free_functions_into_file_participants", false};
void inherit(const inheritable_diagram_options &parent);