1
0
Fork 0
This commit is contained in:
Jan Steemann 2014-07-22 17:39:29 +02:00
parent 373f581990
commit 55a3bb5929
1 changed files with 5 additions and 3 deletions

View File

@ -4428,8 +4428,8 @@ function GENERAL_GRAPH_PATHS (graphName, options) {
// check graph exists and load edgeDefintions // check graph exists and load edgeDefintions
var graph = DOCUMENT_HANDLE("_graphs/" + graphName); var graph = DOCUMENT_HANDLE("_graphs/" + graphName);
if (!graph) { if (! graph) {
THROW(INTERNAL.errors.ERROR_GRAPH_INVALID_GRAPH, "GRAPH_EDGES"); THROW(INTERNAL.errors.ERROR_GRAPH_INVALID_GRAPH, "GRAPH_PATHS");
} }
var startCollections = [], edgeCollections = []; var startCollections = [], edgeCollections = [];
@ -5835,6 +5835,7 @@ function GRAPH_NEIGHBORS (vertexCollection,
/// ///
/// @endDocuBlock /// @endDocuBlock
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
function GENERAL_GRAPH_NEIGHBORS (graphName, function GENERAL_GRAPH_NEIGHBORS (graphName,
vertexExample, vertexExample,
options) { options) {
@ -5844,7 +5845,7 @@ function GENERAL_GRAPH_NEIGHBORS (graphName,
options = { }; options = { };
} }
options.fromVertexExample = vertexExample; options.fromVertexExample = vertexExample;
if (!options.direction) { if (! options.direction) {
options.direction = 'any'; options.direction = 'any';
} }
@ -5956,6 +5957,7 @@ function GENERAL_GRAPH_NEIGHBORS (graphName,
/// ///
/// @endDocuBlock /// @endDocuBlock
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
function GENERAL_GRAPH_EDGES ( function GENERAL_GRAPH_EDGES (
graphName, graphName,
vertexExample, vertexExample,