Assorting nodes and implementing "select touching" command.
Store separate lists for nodes of different types for selected nodes.