Repository: spark Updated Branches: refs/heads/branch-1.4 8be43f897 -> ce6c40066
[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/ce6c4006 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ce6c4006 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ce6c4006 Branch: refs/heads/branch-1.4 Commit: ce6c40066f2691ff12a012cdef1d79320e0291b2 Parents: 8be43f8 Author: Andrew Or <[email protected]> Authored: Tue May 12 12:06:30 2015 -0700 Committer: Andrew Or <[email protected]> Committed: Tue May 12 12:07:36 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/ce6c4006/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: [email protected] For additional commands, e-mail: [email protected]
