You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by an...@apache.org on 2015/05/12 21:07:09 UTC

spark git commit: [HOT FIX #6076] DAG visualization: curve the edges

Repository: spark
Updated Branches:
  refs/heads/master 4e290522c -> b9b01f44f


[HOT FIX #6076] DAG visualization: curve the edges


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/b9b01f44
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/b9b01f44
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/b9b01f44

Branch: refs/heads/master
Commit: b9b01f44f687f35460db9e0ab0b426897747596a
Parents: 4e29052
Author: Andrew Or <an...@databricks.com>
Authored: Tue May 12 12:06:30 2015 -0700
Committer: Andrew Or <an...@databricks.com>
Committed: Tue May 12 12:06:30 2015 -0700

----------------------------------------------------------------------
 .../main/resources/org/apache/spark/ui/static/spark-dag-viz.js    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/b9b01f44/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js
----------------------------------------------------------------------
diff --git a/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js b/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js
index 8b7b1f6..f7d0d3c 100644
--- a/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js
+++ b/core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js
@@ -272,7 +272,8 @@ function preprocessGraphLayout(g, forJob) {
   // Curve the edges
   var edges = g.edges();
   for (var j = 0; j < edges.length; j++) {
-    edges[j].lineInterpolate = "basis";
+    var edge = g.edge(edges[j]);
+    edge.lineInterpolate = "basis";
   }
   // Adjust vertical separation between nodes
   if (forJob) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org