mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH
This commit is contained in:
commit
6229d03eb9
|
@ -680,7 +680,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#graphTab').hide();
|
$('#graphTab').hide();
|
||||||
$('#modal-dialog .modal-delete-confirmation').append('<fieldset><input type="checkbox" id="dropGraphCollections" name="" value=""><label for="mc">also drop collections?</label></fieldset>');
|
$('#modal-dialog .modal-delete-confirmation').append(
|
||||||
|
'<fieldset><input type="checkbox" id="dropGraphCollections" name="" value="">' +
|
||||||
|
'<label for="mc">also drop collections?</label>' +
|
||||||
|
'</fieldset>'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
|
@ -978,13 +978,27 @@ var createMoviesGraph = function (prefixed) {
|
||||||
|
|
||||||
|
|
||||||
var knownGraphs = {
|
var knownGraphs = {
|
||||||
"knows_graph" : {create: createTraversalExample, dependencies: ["knows", "persons"]},
|
"knows_graph" : {create: createTraversalExample, dependencies: [
|
||||||
"routeplanner" : {create: createRoutePlannerGraph, dependencies: ["frenchHighway", "frenchCity", "germanCity", "germanHighway", "internationalHighway"]},
|
"knows", "persons"
|
||||||
"social" : {create: createSocialGraph, dependencies: ["relation", "female", "male"]},
|
]},
|
||||||
"worldCountry" : {create: createWorldCountryGraph, dependencies: ["worldVertices", "worldEdges"]},
|
"routeplanner" : {create: createRoutePlannerGraph, dependencies: [
|
||||||
"worldCountryUnManaged" : {create: createWorldCountryGraphUnManaged, dependencies: ["worldVertices", "worldEdges"]},
|
"frenchHighway", "frenchCity", "germanCity", "germanHighway", "internationalHighway"
|
||||||
"traversalGraph" : {create: createTraversalGraph, dependencies: ["edges", "circles"]},
|
]},
|
||||||
"movies" : {create: createMoviesGraph, dependencies: ["Person", "Movie", "ACTED_IN" ,"DIRECTED", "PRODUCED", "WROTE", "REVIEWED", "FOLLOWS"]}
|
"social" : {create: createSocialGraph, dependencies: [
|
||||||
|
"relation", "female", "male"
|
||||||
|
]},
|
||||||
|
"worldCountry" : {create: createWorldCountryGraph, dependencies: [
|
||||||
|
"worldVertices", "worldEdges"
|
||||||
|
]},
|
||||||
|
"worldCountryUnManaged" : {create: createWorldCountryGraphUnManaged, dependencies: [
|
||||||
|
"worldVertices", "worldEdges"
|
||||||
|
]},
|
||||||
|
"traversalGraph" : {create: createTraversalGraph, dependencies: [
|
||||||
|
"edges", "circles"
|
||||||
|
]},
|
||||||
|
"movies" : {create: createMoviesGraph, dependencies: [
|
||||||
|
"Person", "Movie", "ACTED_IN" ,"DIRECTED", "PRODUCED", "WROTE", "REVIEWED", "FOLLOWS"
|
||||||
|
]}
|
||||||
};
|
};
|
||||||
|
|
||||||
var unManagedGraphs = {
|
var unManagedGraphs = {
|
||||||
|
@ -1042,7 +1056,6 @@ var loadGraph = function (name, prefixed) {
|
||||||
err.errorMessage = "the collection: " + JSON.stringify(dependencies) + " already exists. Please clean up and try again.";
|
err.errorMessage = "the collection: " + JSON.stringify(dependencies) + " already exists. Please clean up and try again.";
|
||||||
}
|
}
|
||||||
throw err;
|
throw err;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue