These constants are used with the collect= query parameter.

Constant Value Description

pyvgx.C_NONE

False

No arcs collected

pyvgx.C_COLLECT

True

All arcs collected

pyvgx.C_SCAN

(False, '*')

No arcs collected, but traversal continues

1. pyvgx.C_NONE

pyvgx.C_NONE = False

Arcs encountered in the neighborhood corresponding to the vertex condition level at which collect= appears will not be collected into the result set. Neighborhood evaluation terminates after the first vertex condition match is detected, unless a deeper level vertex condition exists where collection is enabled.

2. pyvgx.C_COLLECT

pyvgx.C_COLLECT = True

All arcs encountered in the neighborhood corresponding to the vertex condition level at which collect= appears will be collected into the result set when the vertex condition detects a match.

3. pyvgx.C_SCAN

pyvgx.C_SCAN = (False, '*')

Arcs encountered in the neighborhood corresponding to the vertex condition level at which collect= appears will not be collected into the result set. Neighborhood evaluation will continue until all neighbors have been evaluated, even if a vertex condition match is detected earlier.


PYVGX