From 282c688a4e17851eb27c6c6178fd75eb166b1ce3 Mon Sep 17 00:00:00 2001 From: Brooklyn Zelenka Date: Thu, 12 Oct 2023 16:14:02 -0700 Subject: [PATCH] Add better diagram --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 2e4751f1..fb10d435 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,17 @@ flowchart TD It is often useful to talk about a UCAN in the context of some action. For example, a UCAN delegation may be valid when it was created, but expired when invoked. +``` mermaid +sequenceDiagram + Alice -->> Bob: Delegate + Bob ->> Bob: Validate + Bob -->> Carol: Delegate + Carol ->> Carol: Validate + Carol ->> Alice: Invoke + Alice ->> Alice: Validate + Alice ->> Alice: Execute +``` + ### 2.2.1 Validity Interval The period of time that a capability is valid from and until. This is the range from the latest "not before" to the earliest expiry in the UCAN delegation chain.