Commit 297fd0a9 authored by unknown's avatar unknown

Merge branch 'nicolas/feature' into maximilian/newGraph

parents 3bc52838 8097530d
......@@ -231,7 +231,11 @@ export class Graph2d {
f("node", node.toObj())
this._currentNodes.add(id)
})
edges.forEach(edge => f("edge", edge.toObj()))
edges.forEach(edge => {
if (!this.isEdgeHidden(edge))
f("edge", edge.toObj())
}
)
//fetch childrens N+2
return this._queryEngine.fetchComponents(params, this.addComponents(f))
......@@ -259,7 +263,11 @@ export class Graph2d {
f("node", node.toObj())
this._currentNodes.add(id)
})
edges.forEach(edge => f("edge", edge.toObj()))
edges.forEach(edge => {
if (!this.isEdgeHidden(edge))
f("edge", edge.toObj())
})
// fetch parents N+2
return this._queryEngine.fetchComponents(params, this.addComponents(f))
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment