Fixed the graph creation, but now the transitions are not perfect
Traffic lights