[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 <[email protected]>

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

(cherry picked from commit 70e69fc4dd619654f5d24b8b84f6a94f7705c59b)
Signed-off-by: Andrew Or <[email protected]>


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

Branch: refs/heads/branch-1.6
Commit: bb01cbe9b2c0f64eef34f6a59b5bf7be55c73012
Parents: 84dab72
Author: Andrew Or <[email protected]>
Authored: Fri Jan 29 18:00:49 2016 -0800
Committer: Andrew Or <[email protected]>
Committed: Fri Jan 29 18:00:57 2016 -0800

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to