Skip to content
Snippets Groups Projects
Commit 71a452b6 authored by Andrew Or's avatar Andrew Or
Browse files

[HOT FIX] For DAG visualization #5954

parent 8fa6829f
No related branches found
No related tags found
No related merge requests found
......@@ -333,10 +333,10 @@ function drawCrossStageEdges(edges, svgContainer) {
connectRDDs(fromRDDId, toRDDId, edgesContainer, svgContainer);
}
// Now draw the arrows by borrowing the arrow marker generated by dagre-d3
var dagreD3Marker = svgContainer.select("g.edgePaths marker").node();
var dagreD3Marker = svgContainer.select("g.edgePaths marker");
if (!dagreD3Marker.empty()) {
svgContainer
.append(function() { return dagreD3Marker.cloneNode(true); })
.append(function() { return dagreD3Marker.node().cloneNode(true); })
.attr("id", "marker-arrow")
svgContainer.selectAll("g > path").attr("marker-end", "url(#marker-arrow)");
svgContainer.selectAll("g.edgePaths def").remove(); // We no longer need these
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment