migrate route diagram switching to work in graphiti 0.9