mirror of https://gitee.com/bigwinds/arangodb
Fix example for kShortestPathsGraph
This commit is contained in:
parent
7847e8e9d8
commit
014490e459
|
@ -429,7 +429,7 @@ var createTraversalGraph = function () {
|
|||
var createKShortestPathsGraph = function() {
|
||||
var graph_module = require('@arangodb/general-graph');
|
||||
|
||||
var graph = graph_module._create('shortestPathsGraph', [
|
||||
var graph = graph_module._create('kShortestPathsGraph', [
|
||||
graph_module._relation('connections', 'places', ['places'])]);
|
||||
|
||||
var places = [
|
||||
|
|
Loading…
Reference in New Issue