Use maps instead of arrays for node storage.
Use maps instead of arrays for node storage.

This may seem quite inefficient, but it means I can use a fresh
generator to create persistent node IDs instead of having to ensure
things stay in the same order in the array all the time.

septract/starling-tool,septract/starling-tool