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 ac3bf77 commit ac2e835Copy full SHA for ac2e835
src/views/Graph.vue
@@ -493,7 +493,7 @@ export default {
493
// generate a hash for this list of nodes and edges
494
return nonCryptoHash(
495
nodes.map(n => n.id).reduce((x, y) => { return x + y }) +
496
- edges.map(n => n.id).reduce((x, y) => { return x + y })
+ edges.map(n => n.id).reduce((x, y) => { return x + y }, 1)
497
)
498
},
499
reset () {
@@ -537,7 +537,7 @@ export default {
537
const nodes = this.getGraphNodes()
538
const edges = this.getGraphEdges()
539
540
- if (!nodes.length || !edges.length) {
+ if (!nodes.length) {
541
// we can't graph this, reset and wait for something to draw
542
this.graphID = null
543
this.updating = false
0 commit comments