[SPARK-13088] Fix DAG viz in latest version of chrome

Apparently chrome removed `SVGElement.prototype.getTransformToElement`, which 
is used by our JS library dagre-d3 when creating edges. The real diff can be 
found here: 
https://github.com/andrewor14/dagre-d3/commit/7d6c0002e4c74b82a02c5917876576f71e215590,
 which is taken from the fix in the main repo: 
https://github.com/cpettitt/dagre-d3/commit/1ef067f1c6ad2e0980f6f0ca471bce998784b7b2

Upstream issue: https://github.com/cpettitt/dagre-d3/issues/202

Author: Andrew Or <and...@databricks.com>

Closes #10986 from andrewor14/fix-dag-viz.

(cherry picked from commit 70e69fc4dd619654f5d24b8b84f6a94f7705c59b)
Signed-off-by: Andrew Or <and...@databricks.com>


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

Branch: refs/heads/branch-1.4
Commit: c961c2788063cacdd668521ad8174e3d7f478e83
Parents: 7bd2564
Author: Andrew Or <and...@databricks.com>
Authored: Fri Jan 29 18:00:49 2016 -0800
Committer: Andrew Or <and...@databricks.com>
Committed: Fri Jan 29 18:01:17 2016 -0800

----------------------------------------------------------------------
 .../org/apache/spark/ui/static/dagre-d3.min.js         | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------



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

Reply via email to