Apostolos Fanakis
3 years ago
11 changed files with 263 additions and 1 deletions
Binary file not shown.
@ -0,0 +1,19 @@ |
|||||
|
\begin{sequencediagram} |
||||
|
\newthread{actor}{Actor}{} |
||||
|
\newinst[3]{concordia}{:Concordia}{} |
||||
|
\newinst[2]{eth}{:Ethereum}{} |
||||
|
\newinst[1]{orbit}{:OrbitDb}{} |
||||
|
|
||||
|
\begin{call}{actor}{Create post}{concordia}{Post creation form} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{actor}{Submit}{concordia}{Updated topic page} |
||||
|
|
||||
|
\begin{call}{concordia}{Create post}{eth}{New post ID} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Save post information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
\end{sequencediagram} |
@ -0,0 +1,28 @@ |
|||||
|
\begin{sequencediagram} |
||||
|
\newthread{actor}{Actor}{} |
||||
|
\newinst[4]{concordia}{:Concordia}{} |
||||
|
\newinst[2]{eth}{:Ethereum}{} |
||||
|
\newinst[1]{orbit}{:OrbitDb}{} |
||||
|
|
||||
|
\begin{call}{actor}{Create topic}{concordia}{Topic creation form} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{actor}{Add poll}{concordia}{Poll creation form} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{actor}{Submit}{concordia}{New topic-poll page} |
||||
|
|
||||
|
\begin{call}{concordia}{Create topic}{eth}{New topic ID} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Add poll to topic}{eth}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Save topic information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Save poll information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
\end{sequencediagram} |
@ -0,0 +1,19 @@ |
|||||
|
\begin{sequencediagram} |
||||
|
\newthread{actor}{Actor}{} |
||||
|
\newinst[4]{concordia}{:Concordia}{} |
||||
|
\newinst[2]{eth}{:Ethereum}{} |
||||
|
\newinst[1]{orbit}{:OrbitDb}{} |
||||
|
|
||||
|
\begin{call}{actor}{Create topic}{concordia}{Topic creation form} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{actor}{Submit}{concordia}{New topic page} |
||||
|
|
||||
|
\begin{call}{concordia}{Create topic}{eth}{New topic ID} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Save topic information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
\end{sequencediagram} |
@ -0,0 +1,41 @@ |
|||||
|
\begin{sequencediagram} |
||||
|
\newthread{actor}{Actor}{} |
||||
|
\newinst[2]{concordia}{:Concordia}{} |
||||
|
\newinst[2]{eth}{:Ethereum}{} |
||||
|
\newinst[1]{orbit}{:OrbitDb}{} |
||||
|
|
||||
|
\begin{call}{actor}{Fetch topic}{concordia}{Topic} |
||||
|
|
||||
|
\begin{call}{concordia}{Get topic}{eth}{Topic} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Get poll}{eth}{Poll} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Get topic post IDs}{eth}{Post IDs} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Get posts loop}{concordia}{Posts} |
||||
|
|
||||
|
\begin{call}{concordia}{Get post}{eth}{Post} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Retrieve topic information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Retrieve poll information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Validate poll information}{concordia}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Retrieve posts information loop}{concordia}{Posts information} |
||||
|
|
||||
|
\begin{call}{concordia}{Retrieve post information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
\end{call} |
||||
|
\end{sequencediagram} |
@ -0,0 +1,32 @@ |
|||||
|
\begin{sequencediagram} |
||||
|
\newthread{actor}{Actor}{} |
||||
|
\newinst[2]{concordia}{:Concordia}{} |
||||
|
\newinst[2]{eth}{:Ethereum}{} |
||||
|
\newinst[1]{orbit}{:OrbitDb}{} |
||||
|
|
||||
|
\begin{call}{actor}{Fetch topic}{concordia}{Topic} |
||||
|
|
||||
|
\begin{call}{concordia}{Get topic}{eth}{Topic} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Get topic post IDs}{eth}{Post IDs} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Get posts loop}{concordia}{Posts} |
||||
|
|
||||
|
\begin{call}{concordia}{Get post}{eth}{Post} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Retrieve topic information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Retrieve posts information loop}{concordia}{Posts information} |
||||
|
|
||||
|
\begin{call}{concordia}{Retrieve post information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
\end{call} |
||||
|
\end{sequencediagram} |
@ -0,0 +1,26 @@ |
|||||
|
\begin{sequencediagram} |
||||
|
\newthread{actor}{Actor}{} |
||||
|
\newinst[4]{concordia}{:Concordia}{} |
||||
|
\newinst[2]{eth}{:Ethereum}{} |
||||
|
\newinst[1]{orbit}{:OrbitDb}{} |
||||
|
|
||||
|
\begin{call}{actor}{Sign up}{concordia}{Sign up form} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{actor}{Submit}{concordia}{Personal information form} |
||||
|
|
||||
|
\begin{call}{concordia}{Create user}{eth}{New user ID} |
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{concordia}{Create databases}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
|
||||
|
\begin{call}{actor}{Submit}{concordia}{Home page} |
||||
|
|
||||
|
\begin{call}{concordia}{Save personal information}{orbit}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
\end{sequencediagram} |
@ -0,0 +1,12 @@ |
|||||
|
\begin{sequencediagram} |
||||
|
\newthread{actor}{Actor}{} |
||||
|
\newinst[3]{concordia}{:Concordia}{} |
||||
|
\newinst[2]{eth}{:Ethereum}{} |
||||
|
|
||||
|
\begin{call}{actor}{Submit poll vote}{concordia}{Updated topic page} |
||||
|
|
||||
|
\begin{call}{concordia}{Add poll vote}{eth}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
\end{sequencediagram} |
@ -0,0 +1,12 @@ |
|||||
|
\begin{sequencediagram} |
||||
|
\newthread{actor}{Actor}{} |
||||
|
\newinst[3]{concordia}{:Concordia}{} |
||||
|
\newinst[2]{eth}{:Ethereum}{} |
||||
|
|
||||
|
\begin{call}{actor}{Submit post vote}{concordia}{Updated topic page} |
||||
|
|
||||
|
\begin{call}{concordia}{Add post vote}{eth}{} |
||||
|
\end{call} |
||||
|
|
||||
|
\end{call} |
||||
|
\end{sequencediagram} |
Loading…
Reference in new issue