Skip to content

Commit

Permalink
Add ID to node label (minor)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Or committed Apr 27, 2015
1 parent 71281fa commit 09d361e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/ui/viz/VizGraph.scala
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private[ui] object VizGraph {

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

/** Return the dot representation of a subgraph recursively. */
Expand Down

0 comments on commit 09d361e

Please sign in to comment.