ensure nodes/edges are always present