collection of mermaid.live charts
Created
June 12, 2023 09:10
-
-
Save ekafyi/5e5b8a1b7ae9d655cad632a346ca6050 to your computer and use it in GitHub Desktop.
flowchart TD
START[Feed page] --> FEED_TYPE{Location feed?}
FEED_TYPE --> |no | FEED_TYPE_ELSE([STOP])
FEED_TYPE --> |yes,city| LOC_TYPE_CITY[Get city id] --> REQ_ALERTS
FEED_TYPE --> |yes,district| LOC_TYPE_DISTRICT[Get district's\ncity id] --> REQ_ALERTS
REQ_ALERTS[Get valid alerts] --> ALERTS{Has alerts?}
ALERTS --> |no | ALERTS_N([STOP])
ALERTS --> |yes| ALERTS_Y[Get city id\nfor each alert]
ALERTS_Y --> ALERTS_FILTER[Filter alerts with\nmatching city id] --> ALERTS_SHOW([Show filtered alerts])
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment