modified selection criterion
node selection in graphpanel (is kind of random)