Class TraversalExplanation

  • All Implemented Interfaces:
    Direct Known Subclasses:

    public class TraversalExplanation
    extends AbstractExplanation
    implements Serializable
    A TraversalExplanation takes a Traversal and, for each registered TraversalStrategy, it creates a mapping reflecting how each strategy alters the traversal. This is useful for understanding how each traversal strategy mutates the traversal. This is useful in debugging and analysis of traversal compilation. The AbstractExplanation.toString() has a pretty-print representation that is useful in the Gremlin Console.
    Marko A. Rodriguez (
    See Also:
    Serialized Form