forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added standalone plan visualizer tool.
- Loading branch information
StephanEwen
committed
Jan 21, 2014
1 parent
6c7c8b4
commit 04e5dcd
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
stratosphere-dist/src/main/stratosphere-bin/tools/planVisualizer.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html> | ||
<head> | ||
<title>Stratosphere Plan Visualizer</title> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | ||
<link rel="stylesheet" type="text/css" href="../resources/web-docs/css/nephelefrontend.css" /> | ||
<link rel="stylesheet" type="text/css" href="../resources/web-docs/css/js-graph-it.css" /> | ||
<link rel="stylesheet" type="text/css" href="../resources/web-docs/css/pactgraphs.css" /> | ||
<script type="text/javascript" src="../resources/web-docs/js/jquery.js"></script> | ||
<script type="text/javascript" src="../resources/web-docs/js/js-graph-it.js"></script> | ||
<script type="text/javascript" src="../resources/web-docs/js/pactgraph.js"></script> | ||
<body> | ||
<div class="mainHeading"> | ||
<h1><img src="../resources/web-docs/img/StratosphereLogo.png" width="326" height="100" alt="Stratosphere Logo" align="middle"/>Stratosphere Plan Visualizer</h1> | ||
</div> | ||
<div> | ||
<div id="mainCanvas" class="canvas boxed" style="height: 500px;"> | ||
<div><h3>Paste the plan data here</h3></div> | ||
<div align="center"><textarea id="plantext" style="width: 600px; height: 400px;"></textarea></div> | ||
<div align="center"; style="float: bottom;"> | ||
<input id="draw_button" type="button" value="Draw"/> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="propertyCanvas" class="propertyCanvas"> | ||
<p class="fadedPropertiesText">Click a node to show the properties...</p> | ||
</div> | ||
<script type="text/javascript"> | ||
<!-- | ||
var maxColumnWidth = 350; | ||
var minColumnWidth = 150; | ||
|
||
$(document).ready(function() { | ||
|
||
$('#draw_button').click(function () { | ||
var planData = $("textarea#plantext").val(); | ||
var asObject = eval('(' + planData + ')'); | ||
drawPactPlan(asObject, true, "../../../resources/web-docs/img/arrows/arr.gif"); | ||
}); | ||
|
||
}); | ||
//--> | ||
</script> | ||
</body> | ||
</html> | ||
|