【发布时间】:2016-10-26 02:23:20
【问题描述】:
我想从一个顶点开始遍历,只沿着匹配特定表达式的边(例如:friendsWith.type="bestFriend")。我该怎么做呢?
此外,我必须对一堆顶点运行此操作。是否可以通过遍历的“头”来组织事物?理想的回报是:
[[start1, [list of all the vertices during traversal], [start2, [...]],...]
【问题讨论】:
-
你能更好地解释你想要得到什么吗? start2 应该是什么?你能举个例子吗?
-
你能接受一个javascript函数吗?
-
@AlessandroRota 实际上一个 javascript 函数会很有帮助。
标签: orientdb