Skip to content

Rel styling $lineStyle does not work for sequence diagrams #369

Closed
@papa-vova

Description

@papa-vova

Hi! Thank you for a super awesome tool.

I have a line styling issue with sequence diagram.

The code:

@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Sequence.puml
AddRelTag("response", $lineStyle=DashedLine())

Container(a1, "a1")
Container(a2, "a2")
Rel(a1, a2, "request")
Rel(a2, a1, "response", $tags="response")

@enduml

produces the following output:
rel styling bug

I would expect the response line to be dashed. Am I doing something wrong? can't google up anything helpful.

I am not sure if the line «Only following (extended) relationship specific macros is supported:» from the README forbids styling like this.

For container diagrams the same styling works perfectly well.

Thanks!

p.s.
rel styling bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    PlantUML v1.2024.8fix in PlantUML release v1.2024.8 (beta5)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions