sml
sml copied to clipboard
example plant uml exporter produces ugly looking output for sml::on_entry<>
Using sml from submodule (latest master).
Using plant uml exporter from examples.
Everything looked ok and then I switched to using sml::on_entry<> and the exporter code produces really long and not so good looking output:
idle_s1_5 --> boost::ext::sml::v1_1_4::front::internal : boost::ext::sml::v1_1_4::back::on_entry<boost::ext::sml::v1_1_4::back::, boost::ext::sml::v1_1_4::back::> / circulation_state_machine::operator()() const::<lambda()>
vs. say:
circulating_s1_7 --> idle_s1_5 : stop_circulation_request
The long type looks correct, due to inheritance etc but its hard to read in the plant uml output diagram.
I'm guessing there is a way to check the type and swap out all of the stuff for sml::on_entry<> with say 'sml::on_entry<>' but I'm not sure how to fix it.
Fixed with #451 merged into master.