Device sync sequence

Explore a loop with conflict handling and an optional battery pause.

Capability: render-only specialized family.

Read the Mermaid source
sequenceDiagram
    participant Device
    participant Sync
    participant Cloud

    loop While local changes remain
        Device->>Sync: Submit next change set
        Sync->>Cloud: Compare revision vector
        alt Conflict detected
            Cloud-->>Sync: Return conflicting fields
            Sync-->>Device: Request user resolution
        else Revisions compatible
            Cloud-->>Sync: Commit accepted
            Sync-->>Device: Advance local cursor
        end
        opt Battery is low
            Device->>Device: Pause background sync
        end
    end

Rendered output

1 · Prompt

Suggested prompt

Render the sync protocol and explain the conflict branch. Use examples/sources/17-device-sync-sequence.mmd and show me the result.Read full promptClose full prompt
Use the Beautiflow skill. Render the sync protocol and explain the conflict branch.
Use examples/sources/17-device-sync-sequence.mmd and show me the result.

Use examples/sources/17-device-sync-sequence.mmd as the semantic reference; preserve its named participants, relationships, labels and authored values. Explain the system to a reader unfamiliar with this example. Keep fictional measurements and scenarios explicitly illustrative. Work in a new destination that I approve; do not overwrite the reference files.

Inspect the diagram type’s capabilities before choosing an operation. Do not invent pixel coordinates or use unsupported polish or transformations. Render the result, report available checks and their limits, and keep visual judgment separate from mechanical evidence.

2 · Diagram

Device sync sequence rendered by Beautiflow

Generated with:

beautiflow render examples/sources/17-device-sync-sequence.mmd --format svg --theme nord-light --transparent --output examples/rendered/17-device-sync-sequence.svg

Try it

Keep the live result open:

beautiflow server examples/sources/17-device-sync-sequence.mmd

Run Beautiflow directly:

beautiflow render examples/sources/17-device-sync-sequence.mmd --format svg

Or ask an agent with the Beautiflow skill:

Render the sync protocol and explain the conflict branch.
Use examples/sources/17-device-sync-sequence.mmd and show me the result.