remove the activated node from graph