Skip to content

Support REST Traversal API #102

@dkushner

Description

@dkushner

Neo4j has an excellent REST API module that supports custom graph traversals and path aggregation. It would be great if node-neo4j could expose some access to this functionality, preferably via a method with the following specifications:

GraphDatabase.traverse({
    type: 'node' | 'relationship' | 'path' | 'fullpath',
    order: 'breadthFirst' | 'depthFirst',
    relationships: [{
        direction: 'all' | 'in' | 'out',
        type: STRING
    }, {...}],
    uniqueness: 'nodeGlobal' | 'none' | 'relationshipGlobal' | 'nodePath' | 'relationshipPath',
    pruneEvaluator: FUNCTION,
    returnFilter: FUNCTION | 'all' | 'allButStartNode',
    maxDepth: INTEGER
}, function(err, res) {});

Just an idea, based on the documentation here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions