fix/refactor node remove adjacent edges