From caf23b5aa58c08ed75793a4135206ca8e7db200d Mon Sep 17 00:00:00 2001 From: Jeffrey Baumes Date: Fri, 19 Jul 2019 09:20:59 -0400 Subject: [PATCH] Remove circular reference that broke json serialization --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index be64b89..1ae3b0f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -433,7 +433,7 @@ export default { } }, download() { - const nodesWithPositions = graph.nodes.map((n, i) => ({ + const nodesWithPositions = graph.nodes.map(({adj, ...n}, i) => ({ ...n, ...positions[i], }));