Skip to content

Commit

Permalink
[HOT FIX] For DAG visualization apache#5954
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Or authored and jeanlyn committed May 28, 2015
1 parent 646ecc4 commit 5d723ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d723ed

Please sign in to comment.