Better transition positioning :
  1. first add all transitions to the state diagram
  2. then compute the overlaps when all transitions are known