Open in with one click!
%typeset_mode False
a = Automaton({'A': [('A', 0), ('B', 1), ('B', -1)], 'B': [('A', 0)]}) a.state('A').is_initial = True a.state('A').is_final = True a
Automaton with 2 states
show(a)
%typeset_mode True
a
show(graphs.PetersenGraph())
d3-based renderer not yet implemented