You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know there is no way to retrieve a node given an edge label, but I am constantly hitting a use case of trying to get a successor node with a given label. Consider a graph representation like:
I know there is no way to retrieve a node given an edge label, but I am constantly hitting a use case of trying to get a successor node with a given label. Consider a graph representation like:
I was thinking of something like,
const c = g.getSuccessor("1", {label:"time"}); // returns "2"
The signature would be something like
g.getSuccessor(<nodeName>, <edgeLabel>)
I understand that the edges are unique, but maybe leave it to the API user? Is this something that is possible?
The text was updated successfully, but these errors were encountered: