Edges know their index