rename node as edge