Skip to content

Commit

Permalink
Update default stylize behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
beatro0t committed Jul 25, 2021
1 parent 6c09fcc commit d96b7b7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion www/src/neo4j.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,13 @@ export default {
}
}));
}
else { /* unhandled */ }
// Default: add the unknown node or edge
else {
if (element.group === "edges")
edges.push(element)
else
nodes.push(element)
}
}

return Promise.resolve({
Expand Down

0 comments on commit d96b7b7

Please sign in to comment.