From 7e12230ce940c7974d4af420deb28eae1c77ba5e Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Tue, 30 Jan 2018 23:08:59 -0800 Subject: [PATCH] Enable big nodes --- static/scripts/api.js | 1 + templates/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/static/scripts/api.js b/static/scripts/api.js index fb2b42b..7330c24 100644 --- a/static/scripts/api.js +++ b/static/scripts/api.js @@ -18,6 +18,7 @@ api.poll = function() { api.update = function(s) { json = JSON.parse(s); + materials.qubit.size = big.checked ? 2 : 0.4; graph.update(json); } diff --git a/templates/index.html b/templates/index.html index 4c57cab..c75ff86 100644 --- a/templates/index.html +++ b/templates/index.html @@ -48,6 +48,7 @@
  • Share
  • Download
  • Curved edges
  • +
  • Big nodes
  • Documentation