In this forum I found the arrow-code and it seems to work with class diagrams. Is this a supported feature?
@startuml class source source -[#blue]-> target @enduml
(--------)