Increase the plan graph size
authorXinyu Liu <xiliu@xiliu-ld.linkedin.biz>
Thu, 11 May 2017 20:39:48 +0000 (13:39 -0700)
committerXinyu Liu <xiliu@xiliu-ld.linkedin.biz>
Thu, 11 May 2017 20:39:48 +0000 (13:39 -0700)
Increase the canvas size to a standard 24 inch resolution and also the scaling factor.

Author: Xinyu Liu <xiliu@xiliu-ld.linkedin.biz>

Reviewers: Jake Maes <jmakes@apache.org>

Closes #186 from xinyuiscool/PLAN

samza-shell/src/main/visualizer/plan.html

index 9fe2e26..e4fca66 100644 (file)
@@ -83,7 +83,7 @@
   <p id="summary"/>
 </section>
 
-<svg id="svg-canvas" width=1200 height=1000><g/></svg>
+<svg id="svg-canvas" width=1920 height=1200><g/></svg>
 
 <script id="js">
   var data = JSON.parse(plan);
   // Run the renderer. This is what draws the final graph.
   render(inner, g);
 
-  var initialScale = 0.65;
+  var initialScale = 0.75;
   zoom.scale(initialScale).event(svg);
   svg.attr('height', g.graph().height * initialScale + 100);
 </script>