I think the graph's id is always set so they would not be null.