Skip to content

Instantly share code, notes, and snippets.

@comstock
Last active May 8, 2024 15:42
Show Gist options
  • Select an option

  • Save comstock/3a4479dfd54f2631d54dacb2f3c37b9a to your computer and use it in GitHub Desktop.

Select an option

Save comstock/3a4479dfd54f2631d54dacb2f3c37b9a to your computer and use it in GitHub Desktop.
Mermaid Sequence Diagram: On-demand Imaging Workflow
sequenceDiagram

    Title: On-demand imaging workflow
    box lightyellow
    actor P as Patron
    end
    box white
    participant OR as Owning Repository
    end
    box White
    participant IS as Imaging Services
    end
    %% participant A as Aeon
    box lightYellow
    participant DRS as DRS
    end

%% edge statements follow  
    P-->>OR: Request submitted via Aeon
    OR-->>IS: Approved request forwarded to Imaging Services
    rect tomato ########### RECT 2
    alt Repository denys reproduction request
        OR--)P: Patron informed via Aeon, order ends
    end
    end # END RECT 2
    IS-->>P: Issues invoice
    rect tomato ########### RECT 3
    alt Patron decides not to pay the invoice
        P-)P: order ends
    end
    end ########### END RECT 3
    P-->>IS: Pays invoice via Aeon
    IS-->>OR: Requests library item to be copied
    OR-)IS: Delivers library item
    rect lightGreen ########### RECT 4
    alt Repository requests digitized item be deposited to DRS
        IS--)DRS: Reproduction deposited
    end
    end ########### END RECT 4
    IS-->>P: Reproduction delivered
    
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment