Petri — traffic light
Simple three-phase traffic-light cycle.
Make it your own.
title "Traffic light"
place R tokens 1 "Red"
place Y tokens 0 "Yellow"
place G tokens 0 "Green"
transition T1
transition T2
transition T3
R -> T1
T1 -> G
G -> T2
T2 -> Y
Y -> T3
T3 -> R