made the example graph bidirectional