From eea5c331377fa36b61ceacb90da54da69e985bf0 Mon Sep 17 00:00:00 2001 From: Mike Cohen <mike.cohen@bigswitch.com> Date: Fri, 4 May 2012 10:04:54 -0700 Subject: [PATCH] Revert window size in topology - doesn't work for larger topologies. --- src/main/resources/web/js/views/topology.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/web/js/views/topology.js b/src/main/resources/web/js/views/topology.js index dee1461f6..a82098e18 100644 --- a/src/main/resources/web/js/views/topology.js +++ b/src/main/resources/web/js/views/topology.js @@ -25,8 +25,8 @@ window.TopologyView = Backbone.View.extend({ render:function (eventName) { $(this.el).html(this.template()); // code from D3 force-directed graph example since there's no other docs - var width = 500, - height = 400; // might as well make it square + var width = 900, + height = 900; // might as well make it square var color = d3.scale.category20(); var force = d3.layout.force() .charge(-120) -- GitLab