Step differences between iGraph Gremlin and open source Gremlin
Different step syntax requirements in iGraph Gremlin
You must specify a graph name in g("").
You must specify a key value in V() or E(), and you must specify vertex IDs or edge IDs to search for graphs.
For information about full graph searching, see the "indexQuery" section of the Steps H-N topic.
You must use hasLabel() to specify a label in a query statement.
You must use double quotes ("").
Reverse edges are not supported.
Step feature differences in iGraph Gremlin
Step | Difference |
aggregate | You cannot specify whether the scope is global or local. |
alias | A self-developed step of iGraph. |
and | The and step cannot be left empty, which indicates that infix notation is not supported. |
or | Same as the and step. |
barrier | You cannot specify LazyBarrierStrategy. You can specify the barrier(Barrier.nodedup) parameter to only block but not merge the same objects. |
bulk | A step supported by iGraph. |
distinct | A self-developed step of iGraph. |
fields | A self-developed step of iGraph. |
fold | Parameters cannot be received. |
has | Some steps are not supported, such as has(label, key, value) and has(P,value)->has(P,T). |
indexQuery | A self-developed step of iGraph. |
limit | You cannot specify whether the scope is global or local. |
math | Complex computing is not supported. |
mean | The local scope is not supported. |
order | The expressions of the ascending order and the descending order change from asc and desc to incr and decr. |
P/Predicates | The TextP type is not supported. |
PathRecordStrategy | A self-developed policy of iGraph. |
PushDownStrategy | A self-developed policy of iGraph. |
sample | An extra sampling policy that can be specified in iGraph. |
withSack | Some of the requirements for parameters are different. |
withStrategies | Only the self-developed PathRecordStrategy and PushDownStrategy policies are supported. |