Open
Description
Graph::remove_node
causes indices to shift if index isn't the last node.
Options to handle this are:
- Leave behaviour but document it.
- Make each
Slot
anOption<Slot>
and simply makeremove_node
set theOption<Slot>
toNone
. Document the assumption that user never callsadd_node
more thanMAX_NODES
number of times.
I'm currently leaning towards option 2 - any ideas / input appreciated :)