-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Styling components of the sequence diagram #523
Comments
👍 |
+1 for this, styling helps making larger sequence diagrams easier to read. As @CyborgMaster suggested, something similar to flowchart styling would be great
|
+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 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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 similar comment
+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 |
+1 |
Respectfully please stop posting comments that are only "+1" or ":+1:". I'm not one of the maintainers here so I can't enforce it but it's increasingly frustrating to see notifications for this issue getting my hopes up that something happened only to see it's yet another person commenting with zero added benefit. Please be respectful of others who are following this issue. These comments only clutter the issue thread and create extra noise for everyone involved. If you don't have anything productive to add towards completion of this issue please just go react 👍 to the first post, hit "subscribe" on the right if you want notifications, and wait like the rest of us. isaacs/github#9 isaacs/github#640 isaacs/github#968 Edit: If you are one of the common maintainers/contributors to this project I would strongly urge this issue get looked at soon. It's currently the most upvoted issue on the repo and is 3 years old. It's clear there's some strong desire here |
@jgreywolf are you working on this? If not, we can remove the assignment and open it up for the community. |
Hey, is anyone working on this one? May I try as my first issue? |
One possible way is to set color manually after rendering: mermaid.run({
querySelector: '.mermaid',
postRenderCallback: () => {
document.querySelectorAll(".arrowMarkerPath").forEach(item => {
item.style.fill = "white";
});
}
}); |
Ran into this today; I wanted to take a state diagram and make some nodes red and others green., to highlight the path a state transition took. |
Anything updates? |
+1 |
2 similar comments
+1 |
+1 |
+10000 |
+100 |
+1 |
7 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1! |
+1 |
2 similar comments
+1 |
+1 |
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.
The text was updated successfully, but these errors were encountered: