"either" or what?

"node_indices" probably should be a constructor argument.