summary refs log tree commit diff
path: root/v1.52/auth_chain_diff.dot
diff options
context:
space:
mode:
authorDMRobertson <DMRobertson@users.noreply.github.com>2022-02-01 11:04:50 +0000
committerDMRobertson <DMRobertson@users.noreply.github.com>2022-02-01 11:04:50 +0000
commit32c96e3cd0442e28d04d88cc5d8a9ee9c7ffd9ea (patch)
treeb46265856b6a729b7078507ff67e2c527e7badd8 /v1.52/auth_chain_diff.dot
parentdeploy: 0da2301b21399b85a955d92dc355024a67b8cb40 (diff)
downloadsynapse-32c96e3cd0442e28d04d88cc5d8a9ee9c7ffd9ea.tar.xz
deploy: a35e9db9be8666d9ce1164bec3f30b7623ecdfb5
Diffstat (limited to 'v1.52/auth_chain_diff.dot')
-rw-r--r--v1.52/auth_chain_diff.dot32
1 files changed, 32 insertions, 0 deletions
diff --git a/v1.52/auth_chain_diff.dot b/v1.52/auth_chain_diff.dot
new file mode 100644
index 0000000000..978d579ada
--- /dev/null
+++ b/v1.52/auth_chain_diff.dot
@@ -0,0 +1,32 @@
+digraph auth {
+    nodesep=0.5;
+    rankdir="RL";
+
+    C [label="Create (1,1)"];
+
+    BJ [label="Bob's Join (2,1)", color=red];
+    BJ2 [label="Bob's Join (2,2)", color=red];
+    BJ2 -> BJ [color=red, dir=none];
+
+    subgraph cluster_foo {
+        A1 [label="Alice's invite (4,1)", color=blue];
+        A2 [label="Alice's Join (4,2)", color=blue];
+        A3 [label="Alice's Join (4,3)", color=blue];
+        A3 -> A2 -> A1 [color=blue, dir=none];
+        color=none;
+    }
+
+    PL1 [label="Power Level (3,1)", color=darkgreen];
+    PL2 [label="Power Level (3,2)", color=darkgreen];
+    PL2 -> PL1 [color=darkgreen, dir=none];
+
+    {rank = same; C; BJ; PL1; A1;}
+
+    A1 -> C [color=grey];
+    A1 -> BJ [color=grey];
+    PL1 -> C [color=grey];
+    BJ2 -> PL1 [penwidth=2];
+
+    A3 -> PL2 [penwidth=2];
+    A1 -> PL1 -> BJ -> C [penwidth=2];
+}