Following code :
@startuml skinparam linetype ortho skinparam pathHoverColor black class A class B A --> A [[{L1}]]: L1 A --> B [[{L2}]]: L2 @enduml
Gives :
Label on A --> A : L1 is not shown. However, its available on mouse over.
(--------)