You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by xi...@apache.org on 2017/05/15 21:38:58 UTC
[2/5] samza git commit: Increase the plan graph size
Increase the plan graph size
Increase the canvas size to a standard 24 inch resolution and also the scaling factor.
Author: Xinyu Liu <xi...@xiliu-ld.linkedin.biz>
Reviewers: Jake Maes <jm...@apache.org>
Closes #186 from xinyuiscool/PLAN
Project: http://git-wip-us.apache.org/repos/asf/samza/repo
Commit: http://git-wip-us.apache.org/repos/asf/samza/commit/b3b2fb52
Tree: http://git-wip-us.apache.org/repos/asf/samza/tree/b3b2fb52
Diff: http://git-wip-us.apache.org/repos/asf/samza/diff/b3b2fb52
Branch: refs/heads/0.13.0
Commit: b3b2fb5210c1f5a8f615576701f801c2969df3b4
Parents: 345cef8
Author: Xinyu Liu <xi...@xiliu-ld.linkedin.biz>
Authored: Thu May 11 13:39:48 2017 -0700
Committer: Xinyu Liu <xi...@xiliu-ld.linkedin.biz>
Committed: Mon May 15 14:37:27 2017 -0700
----------------------------------------------------------------------
samza-shell/src/main/visualizer/plan.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/samza/blob/b3b2fb52/samza-shell/src/main/visualizer/plan.html
----------------------------------------------------------------------
diff --git a/samza-shell/src/main/visualizer/plan.html b/samza-shell/src/main/visualizer/plan.html
index 9fe2e26..e4fca66 100644
--- a/samza-shell/src/main/visualizer/plan.html
+++ b/samza-shell/src/main/visualizer/plan.html
@@ -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);
@@ -112,7 +112,7 @@
// 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>