You can create virtual walls between all nodes (and decide if they are walls or empty space, sotosay, to get unconnected nodes) by doubling the number of nodes in each dimension, EG instead of: 10*10*10 nodes you could insert spacer-nodes between all regular node, so you have 20*20*20 nodes. Although - this method would also make things slow.