[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.


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

Branch: refs/heads/master
Commit: 70e69fc4dd619654f5d24b8b84f6a94f7705c59b
Parents: e6ceac4
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:49 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