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 <[email protected]> Authored: Tue May 12 12:06:30 2015 -0700 Committer: Andrew Or <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
