Open emmby opened 6 months ago
@sidharthv96 I would like to try working on this issue if support is desired, but first I want to understand if it makes sense to have a new shape or modify the current cluster shape to support multiple descriptions.
I noticed that there is this specific shape for the state with description, could we possibly reuse some of the code from there?
Help is always welcome 😇
State diagram is currently undergoing major rework on the rendering part, by @knsv and @ashishjain0512. So it might be a good idea to wait till that's done, or check with them if their refactoring will interfere with the work you're planning.
State diagram is currently undergoing major rework on the rendering part, by @knsv and @ashishjain0512. So it might be a > good idea to wait till that's done, or check with them if their refactoring will interfere with the work you're planning.
Ohh thanks! I'll take a look and understand, but I believe it's also better to wait :)
@igorwessel @knsv @ashishjain0512 I think I have a good workaround for this issue here: https://github.com/mermaid-js/mermaid/issues/5966
Hopefully it is an easy layout fix.
Description
You can add a UML-style behavior ("trigger [guard] / action()") to state nodes in diagrams, but you cannot add a behavior to a parent node.
Steps to reproduce
See description
Screenshots
Code Sample
No response
Setup
Suggested Solutions
No response
Additional Context
Proposed documentation about adding behaviors to state machines: https://github.com/mermaid-js/mermaid/pull/5512