Resize of nodes and rename of edges' legend