No need for a bidirectional graph.