added selection to the nodegraph