Parcourir la source

Enable big nodes

master
Pete Shadbolt il y a 6 ans
Parent
révision
7e12230ce9
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +1
    -0
      static/scripts/api.js
  2. +1
    -0
      templates/index.html

+ 1
- 0
static/scripts/api.js Voir le fichier

@@ -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);
}



+ 1
- 0
templates/index.html Voir le fichier

@@ -48,6 +48,7 @@
<li><a onclick="share()">Share</a></li>
<li><a href="/{{uuid}}/download">Download</a></li>
<li><input id=curvy type="checkbox" checked></input> Curved edges</li>
<li><input id=big type="checkbox"></input> Big nodes</li>
<li><a href="/doc" id=help>Documentation</a></li>
</ul>
</div>


Chargement…
Annuler
Enregistrer