Last active
November 23, 2022 12:22
PlantUML activity diagram for visibility of a Mastodon toot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
<style> | |
diamond { | |
BackgroundColor #palegreen | |
LineColor #green | |
LineThickness 2.5 | |
} | |
</style> | |
!$START = "Public toot by @name" | |
!$HOME = "Toot shows in **Home** timeline" | |
!$LOCAL = "Toot shows in **Local** timeline" | |
!$FEDERATED = "Toot shows in **Federated** timeline" | |
!$NEVER = "Toot **never** reaches your instance" | |
!$Q_FOLLOW = "Are you following @name?" | |
!$Q_INSTANCE = "Is @name on your instance?" | |
!$Q_INDIRECT = "Does someone on your\ninstance follow @name?" | |
!$Q_OTHER = "Did your instance\nbecome aware of the\ntoot in some other way,\ne.g. a boost/reply by someone\nyou don't follow on your instance,\nor a local search of the URL\nby someone on your instance?" | |
title The visibility of a toot\n<sub>In what timeline will a toot appear?</sub>\n | |
start | |
:$START; | |
if ($Q_FOLLOW) then (**YES**) | |
#lightblue :$HOME; | |
else (**NO**) | |
if ($Q_INSTANCE) then (**YES**) | |
#lightblue :$LOCAL; | |
else (**NO**) | |
if ($Q_INDIRECT) then (**YES**) | |
#lightblue :$FEDERATED; | |
else (**NO**) | |
if ($Q_OTHER) then (**YES**) | |
#lightblue :$FEDERATED; | |
else (**NO**) | |
#pink :$NEVER; | |
endif | |
endif | |
endif | |
endif | |
stop | |
right footer "Created with PlantUML by Thomas Weitzel\nBased on **https://github.com/mastodon/mastodon/issues/6812**\nand **https://axbom.com/mastodon-tips**\nSource here: **https://gist.github.com/thomasweitzel/4e6f3e7f95f858c5260c5326c68be58c**" | |
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment