Skip to content

Commit 09d361e

Browse files
author
Andrew Or
committed
Add ID to node label (minor)
1 parent 71281fa commit 09d361e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/ui/viz/VizGraph.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private[ui] object VizGraph {
134134

135135
/** Return the dot representation of a node. */
136136
private def makeDotNode(node: VizNode): String = {
137-
s"""${node.id} [label="${node.name}"]"""
137+
s"""${node.id} [label="${node.name} (${node.id})"]"""
138138
}
139139

140140
/** Return the dot representation of a subgraph recursively. */

0 commit comments

Comments
 (0)