aboutsummaryrefslogtreecommitdiffstats
path: root/graphgraph-fe/src/requests.js
diff options
context:
space:
mode:
Diffstat (limited to 'graphgraph-fe/src/requests.js')
-rw-r--r--graphgraph-fe/src/requests.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphgraph-fe/src/requests.js b/graphgraph-fe/src/requests.js
index 9eaf3fe..a468d35 100644
--- a/graphgraph-fe/src/requests.js
+++ b/graphgraph-fe/src/requests.js
@@ -7,12 +7,12 @@ export function nodeNames (schema) {
return `http://localhost:8080/schemas/${schema}/nodes`
}
-export function basicGraph (schema, node, parentHops, cousinHops, childHops) {
- return `http://localhost:8080/schemas/${schema}/graph/basic?node=${node}&parentHops=${parentHops}&cousinHops=${cousinHops}&childHops=${childHops}`
+export function basicGraph (schema, node, parentHops, cousinHops, childHops, edgeFilter) {
+ return `http://localhost:8080/schemas/${schema}/graph/basic?node=${node}&parentHops=${parentHops}&cousinHops=${cousinHops}&childHops=${childHops}&edgeFilter=${edgeFilter}`
}
-export function pathGraph (schema, fromNode, toNode) {
- return `http://localhost:8080/schemas/${schema}/graph/paths?fromNode=${fromNode}&toNode=${toNode}`
+export function pathGraph (schema, fromNode, toNode, edgeFilter) {
+ return `http://localhost:8080/schemas/${schema}/graph/paths?fromNode=${fromNode}&toNode=${toNode}&edgeFilter=${edgeFilter}`
}
export function nodeProperty (schema, node) {