src/execution_plan/ops/shared/traverse_functions.c
// Determine the edge directions we need to collect.
Determine the edge directions we need to collect.
Determine the edge directions we need to collect .
static GRAPH_EDGE_DIR _Traverse_SetDirection(const AlgebraicExpression *ae, const QGEdge *e) {
	if(e->bidirectional) return GRAPH_EDGE_DIR_BOTH;
	if(AlgebraicExpression_ContainsOp(ae, AL_EXP_TRANSPOSE)) return GRAPH_EDGE_DIR_INCOMING;
	return GRAPH_EDGE_DIR_OUTGOING;
}
static GRAPH_EDGE_DIR _Traverse_SetDirection ( const AlgebraicExpression * ae , const QGEdge * e ) { if ( e -> bidirectional ) return GRAPH_EDGE_DIR_BOTH ; if ( AlgebraicExpression_ContainsOp ( ae , AL_EXP_TRANSPOSE ) ) return GRAPH_EDGE_DIR_INCOMING ; return GRAPH_EDGE_DIR_OUTGOING ; }
Determine the edge directions we need to collect.
Determine the edge directions we need to collect .
// Bidirectional traversals should match both incoming and outgoing edges. /* If this operation traverses a transposed edge, the source and destination
	 * nodes will be swapped in the Record. */ // The default traversal direction is outgoing.