We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee26dcf commit 07803c1Copy full SHA for 07803c1
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "iknow-entity-browser",
3
- "version": "0.2.4",
+ "version": "0.2.5",
4
"description": "Visualizer for iKnow entities",
5
"main": "gulpfile.babel.js",
6
"scripts": {
src/static/js/graph/index.js
@@ -188,6 +188,13 @@ export function update (reset = false) {
188
edges: flattenEdges(g)
189
};
190
191
+ if (reset) {
192
+ link = link.data([]);
193
+ link.exit().remove();
194
+ node = node.data([]);
195
+ node.exit().remove();
196
+ }
197
+
198
link = links.selectAll("line").data(graph.edges, (d) => d.target.id);
199
link.exit().remove();
200
let linkEnter = link.enter().append("line")
0 commit comments