In NebulaGraph, the BIDIRECT keyword is used in GO statements to determine the direction of edges in a query. NebulaGraph uses GO statements in combination with BIDIRECT for bidirectional queries. To determine the direction of edges, you can use the result of YIELD <edge_type>._type, where the positive or negative value indicates the edge direction.
However, if you have multiple edge types in your query result, do you need to list out each edge type? Is there a more convenient way to do this?