Disabling selection on graph