combine edge with node