implemented node arrow selection