github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/diagrams/files-conflict-2.mmdc (about)

     1  sequenceDiagram
     2      %% https://mermaidjs.github.io/
     3      participant A as Alice
     4      participant B as Bob
     5  
     6      note left of A: File is uploaded
     7      A-->>A: 1-1aa
     8      A-->>A: 2-2aa
     9  
    10      note left of A: Sharing is setup
    11      A-->>B: replication
    12      B-->>B: 2-2aa
    13      B-->>A: replication
    14  
    15      note left of A: Rename
    16      A-->>A: 3-3aa
    17      note left of A: Upload
    18      A-->>A: 4-4aa
    19      note right of B: Move
    20      B-->>B: 3-3bb
    21      A-->>B: replication
    22      B-->>B: id2 - 3-3bb
    23      B-->>B: 4-4cc
    24      B-->>B: 5-5bb
    25      B-->>A: replication
    26      A-->>A: id2 - 3-3bb
    27      A-->>A: 5-5bb
    28      A-->>B: replication