easier graph representation that has naming as separate mapping from nodes (locations) to strings