Skip to content

Is there an algorithm to return all possible paths to one target? #77

@marcodarko

Description

@marcodarko

Not really an issue but a question for the team, as I'm having difficulty finding a solution on the documentation.

Currently I only see a way to return one path:
let path = jsnx.shortestPath(G, {source:'schema:Thing',target:'schema:StadiumOrArena'});

is there a way to get all paths to a target without specifying a source?
let path = jsnx.shortestPath(G, {target:'target'});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions