From bfa79f58ee76b509aaf20cb083ca1360042b495f Mon Sep 17 00:00:00 2001 From: Alex de Mulder Date: Wed, 5 Mar 2014 11:09:09 +0100 Subject: [PATCH] Updated physics for graphviz examples to make it more appealing. Very easy with the configurePhysics option. --- examples/graph/22_les_miserables.html | 1 - examples/graph/graphviz/graphviz_gallery.html | 2 +- src/graph/graphMixins/physics/PhysicsMixin.js | 57 +++++++------------ 3 files changed, 21 insertions(+), 39 deletions(-) diff --git a/examples/graph/22_les_miserables.html b/examples/graph/22_les_miserables.html index f13d312a..4f10ebc4 100644 --- a/examples/graph/22_les_miserables.html +++ b/examples/graph/22_les_miserables.html @@ -359,7 +359,6 @@ var data = { nodes: nodes, edges: edges - }; var options = {nodes: {shape:'circle'},stabilize: false}; var graph = new vis.Graph(container, data, options); diff --git a/examples/graph/graphviz/graphviz_gallery.html b/examples/graph/graphviz/graphviz_gallery.html index 280ba6c5..f5d678e7 100644 --- a/examples/graph/graphviz/graphviz_gallery.html +++ b/examples/graph/graphviz/graphviz_gallery.html @@ -65,7 +65,7 @@