Hello L.,
A possible workaround is to put the note just after the 'endif':
Regards,Th.
I think for the specified test case it looks OK, though when we have e.g.:
@startuml skinparam ConditionEndStyle hline start if (condition?) then (yes) :activity A; else (no) :activity B; floating note right: This is a note :activity C; :activity D; endif stop @enduml
It doesn't look that good (placing of the note) anymore:
@startuml skinparam ConditionEndStyle hline start if (condition?) then (yes) :activity A; else (no) :activity B; :activity C; :activity D; endif floating note right: This is a note stop @enduml
You are right: the defect of hline too long remains...
or
er even:
(--------)