Skip to content

Commit 666c03b

Browse files
author
Andrew Or
committed
Round corners of RDD boxes on stage page (minor)
1 parent 01ba336 commit 666c03b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/resources/org/apache/spark/ui/static/spark-dag-viz.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,9 @@ function styleDagVizForStage() {
298298
graphContainer().selectAll("svg g.node rect")
299299
.style("fill", "none")
300300
.style("stroke", VizConstants.rddColor)
301-
.style("stroke-width", "2px");
301+
.style("stroke-width", "2px")
302+
.attr("rx", "5") // round corners
303+
.attr("ry", "5");
302304
// TODO: add a legend to explain what a highlighted RDD means
303305
graphContainer().selectAll("svg g.cached rect")
304306
.style("stroke", VizConstants.rddCachedColor);

0 commit comments

Comments
 (0)