Cleanup
Fix graph_transitions