Generator of state machines that accept the same language of a given regular expression.
python -m automaton "(a|b*c)" -o output.png
Then, output.png
file will be:
where the accepting states are marked in blue and the starting node is marked with >.