Sharedsupport / 2015-11-01-095959-tikz.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
%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