mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

Activation not working in sequence diagrams

Open jfontsaballs opened this issue 2 years ago • 4 comments

Description

Activation does not show. Arrow does offset to make room for activation lane.

Steps to reproduce

See code sample and screenshots

Screenshots

imagen

https://mermaid.ink/svg/pako:eNpNjjEKwzAQBL8iro3zARWGmLSp0qo5pI0tsKREOhXG-O-RYwy5arlZllnJJgfSVPCpiBZ3z2PmYKJqd1PXvr-oQWlVUoBMPo4HGXbS-B9QmAuoo4Ac2Lu2ue5dQzIhwJBu0eHFdRZDJm6tylXSc4mWtOSKjurbsZwK5xPOS8qPQ_Nnu30Bh5U7Lg

Code Sample

sequenceDiagram
    A ->>+ B : something
    B ->> A : something else

Setup

Mermaid live 9.2.2 and also on Obsidian 1.0.3

Additional Context

No response

jfontsaballs avatar Nov 24 '22 12:11 jfontsaballs

It renders when you deactivate it. This works:

sequenceDiagram
    A ->>+ B : something
    B ->>- A : something else

jfontsaballs avatar Nov 24 '22 12:11 jfontsaballs

Maybe a notice indicating this can be added to the docs?

jfontsaballs avatar Nov 24 '22 12:11 jfontsaballs

I faced the same issue. Is it the intended behavior? I need to create a diagram where some actors do not deactivate. I'd expect the bar to be visible and continue all the way to the bottom.

ultimate-deej avatar Jan 06 '23 13:01 ultimate-deej

I would also like to see that the actors remain activated until the bottom without the need to deactivate it. A somewhat similar request: #2897

ckhiu avatar Apr 09 '24 11:04 ckhiu