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();
|
||||
$('#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 = {
|
||||
"knows_graph" : {create: createTraversalExample, dependencies: ["knows", "persons"]},
|
||||
"routeplanner" : {create: createRoutePlannerGraph, dependencies: ["frenchHighway", "frenchCity", "germanCity", "germanHighway", "internationalHighway"]},
|
||||
"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"]}
|
||||
"knows_graph" : {create: createTraversalExample, dependencies: [
|
||||
"knows", "persons"
|
||||
]},
|
||||
"routeplanner" : {create: createRoutePlannerGraph, dependencies: [
|
||||
"frenchHighway", "frenchCity", "germanCity", "germanHighway", "internationalHighway"
|
||||
]},
|
||||
"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 = {
|
||||
|
@ -1042,7 +1056,6 @@ var loadGraph = function (name, prefixed) {
|
|||
err.errorMessage = "the collection: " + JSON.stringify(dependencies) + " already exists. Please clean up and try again.";
|
||||
}
|
||||
throw err;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue