mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

[sequenceDiagram] How about implementing support for broadcast messages?

Open rafaeldelucena opened this issue 5 years ago • 6 comments

Hello,

I love mermaid, is pretty straightforward and I use in most of my projects. But there is a feature that I miss which is broadcast messages (useful for events) in the Sequence Diagrams.

I can help you with that, if you do not have time for it, but I'm just asking if this make sense.

I have thought about an operator like <-> <<->> or even <--> and <<-->> respecting the same syntax for the usual arrows.

Any thoughts about it?

Thank you!

rafaeldelucena avatar Jun 17 '19 21:06 rafaeldelucena

That sounds super! I think we should add the feature and I would gladly accept your help.

I think the syntax might need some extra thoughts though as <---> could be interpreted as a tag by the browser and could make things harder.

knsv avatar Jun 24 '19 17:06 knsv

About some thoughts I think something like <-A->: state changed meaning that A broadcast the message state changed to all other participants.

What do you think?

rafaeldelucena avatar Jun 25 '19 19:06 rafaeldelucena

Looks good! I will add this issue to the 8.2.0 project and assign to you.

knsv avatar Jun 30 '19 05:06 knsv

Hey, @rafaeldelucena. Any progress on this? Anything we can help you with?

IOrlandoni avatar Jul 16 '19 14:07 IOrlandoni

Hi @IOrlandoni, not yet, but I pretend to take a look in the weekend.

rafaeldelucena avatar Jul 22 '19 20:07 rafaeldelucena

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you are still interested in it, and it is still relevant, you can comment or remove the label to revive it.

github-actions[bot] avatar Sep 24 '19 07:09 github-actions[bot]