Update GraphNode.scala

adding comments