Category "sequence-diagram"

How can I express interaction via global variable in sequence diagram

I want to draw a sequence diagram for following example. I know that I can use message line when there is a function call interaction for data exchange. But in

How can I express interaction via global variable in sequence diagram

I want to draw a sequence diagram for following example. I know that I can use message line when there is a function call interaction for data exchange. But in

Mermaid diagram line break

I cannot find how to insert a line break in long titles inside nodes. For example: library(DiagrammeR) mermaid(" graph TB A[GE Solution]-->C{ } B[

Who owns the method in a sequence diagram?

Say we have the diagram: I wonder whether it's known by the diagram who owns the methods. For instance: Is pickup a method of Waiter? Is serve food then a meth