Display transition annotations in dotty output.
* src/tgbaalgos/dotty.cc (process_link): Call transition_annotation(). Reported by Nikos Gorogiannis. * src/tgba/tgba.hh (transition_annotation): More documentation.
This commit is contained in:
parent
d573eb9b8d
commit
3010d7051b
4 changed files with 32 additions and 3 deletions
|
|
@ -100,6 +100,14 @@ namespace spot
|
|||
+ bdd_format_accset(automata_->get_dict(),
|
||||
si->current_acceptance_conditions());
|
||||
|
||||
std::string s = automata_->transition_annotation(si);
|
||||
if (!s.empty())
|
||||
{
|
||||
if (*label.rbegin() != '\n')
|
||||
label += '\n';
|
||||
label += s;
|
||||
}
|
||||
|
||||
os_ << " " << in << " -> " << out << " "
|
||||
<< dd_->link_decl(automata_, in_s, in, out_s, out, si,
|
||||
escape_str(label))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue