Diagram: Edge label auto layouting