FEAT: Add StableGraph::filter_map

Add helper methods to add new "tombstone" nodes/edges, so that we
reproduce the original node / edge indices exactly. We put the regular
free lists to side for this and keep it separately, so that add
node/edge don't reuse them during the mapping.
2 files changed