public NodePrimitive(object val, ObjectGraph graph) { graph.AddNode(this); representedObject = val; value = val; }