mermaid
mermaid copied to clipboard
Styling components of the sequence diagram
I would love to be able to style the actor boxes and possibly arrows of the sequence diagram in a similar way that you allow styling the nodes and links of the flowcharts. I believe that a similar (if not identical) syntax should work.
👍
+1 for this, styling helps making larger sequence diagrams easier to read. Lack of styling in mermaid is indeed the only reason I stick to mscgen for sequence diagrams.
As @CyborgMaster suggested, something similar to flowchart styling would be great
sequenceDiagram
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
style Alice fill:#f9f,stroke:#333,stroke-width:4px
+1 for this
+1
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This seemed to be a popular request, I don't think it should be archived.
I think this issue need to be revisited. The styling is working on Graph TD but not on sequenceDiagram. At least I was not able to figure out how to apply any style on a sequenceDiagram.
Thank you in advance
This would be a great addition !!
@Dunning-Kruger Looking forward for this support.
+1
@handzlikchris We're always welcoming new contributors. If you'd like to help out, feel free to check our "collaborators wanted" issue, read our contribution guidelines, and join us in slack!
This would be great -- sequences do require a lot of differentiation!
yes please. Need to differentiate some of the components.
Yes, another up for this feature ;-)
+1
+1
Not being able to style to highlight things e.g. "these participants/services are new" is nearly a show stopper for me
+1
+1
+100
A needed feature!
+1
+1
+1
+1
+1
+1
+1
+1 I can't rely on mermaid for sequence diagrams without this feature
Agreed with other commenters, this is a needed feature. This is one of the primary things I wish to use Mermaid for and it is so close to filling all my needs. Who can I bribe with Coffee and Chipotle to make this happen? I need participant colors, line colors, arrow colors, and step colors 🙏