-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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 |
@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 |
+1 over 7.5 years after this request was initially opened... |
+1 |
There are these two options currently: If someone would like to take this on, that would be great :) |
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: