Overlap of Lables

+1 vote
asked Dec 17, 2018 in Bug by alphatan (280 points)

Overlap of Lables

Bug

  1. Steps to reproduce the problem

    @startuml
    
    () "Product Dubbo" as product_dubbo
    () "Member Dubbo" as member_dubbo
    () "Guide Dubbo" as guide_dubbo
    () "Search Dubbo" as search_dubbo
    
    [ME]
    [P] - product_dubbo
    member_dubbo - [M]
    [G] - guide_dubbo
    search_dubbo - [S]
    
    guide_dubbo <. [ME]
    [ME] ..> member_dubbo
    [ME] ..> product_dubbo
    [ME] .> search_dubbo
    
    @enduml
    
  2. Problem PNG

  3. Affected Versions

    • Worked
      • 1.2018.3
      • 1.2018.2
      • 1.2018.1
    • Problmatic
      • 1.2018.13
      • 1.2018.12
      • 1.2018.11
      • 1.2018.10
      • 1.2018.9
      • 1.2018.8
      • 1.2018.7
      • 1.2018.6
      • 1.2018.5
      • 1.2018.4

1 Answer

+1 vote
answered Dec 17, 2018 by plantuml (201,220 points)
selected Dec 17, 2018 by alphatan
 
Best answer

We are getting too close to GraphViz limits here...

Fortunately, there is a setting to turn around this : skinparam fixCircleLabelOverlapping true

Example :

@startuml
skinparam fixCircleLabelOverlapping true
() "Product Dubbo" as product_dubbo
() "Member Dubbo" as member_dubbo
() "Guide Dubbo" as guide_dubbo
() "Search Dubbo" as search_dubbo

[ME]
[P] - product_dubbo
member_dubbo - [M]
[G] - guide_dubbo
search_dubbo - [S]

guide_dubbo <. [ME]
[ME] ..> member_dubbo
[ME] ..> product_dubbo
[ME] .> search_dubbo
@enduml

http://www.plantuml.com/plantuml/uml/NOv1QeOm44RtESNWgbtK4nGHskAcKi6bI4dCr8Oc6YP9wV5hqYBZln5ytoDlsX0bnUIi25zcyvAaWm_pysHeiVWg5TgtRoGhlJVR2f4IYhjxg0RQTLeYF2UbzWfa0Fz7tdKcnUdHAIIck0AOqIMZaGbh_cVxY9AMJoQ40luDCVKlivY66HvkwZnqZ5D_Q5tMU82_bQLn5eBjy5X32UGFr7LpEV-aPvdZvdfeYvjEplu2

commented Jan 4 by Serge Wenger Work (11,900 points)
Same with Plantuml version 1.2018.14, but work with Plantuml version 1.2018.15beta2 on http://www.plantuml.com
commented Mar 5 by vernor (120 points)
The curved lines could be worked around with:
skinparam linetype ortho
...