Add architecture file

This commit is contained in:
Ilan Cosman 2023-09-21 11:26:54 -07:00
parent 17f7922cf9
commit d7ca88d48e

48
ARCHITECTURE.md Normal file
View File

@ -0,0 +1,48 @@
```mermaid
---
title: Tide Configure Flowchart
---
flowchart TD
prompt_connection_andor_frame_color["prompt_connection_andor_frame_color
(skipped if 16 color, or if there is no frame and no prompt connection)"]
Style[style] --> prompt_colors
prompt_colors -- "16 colors" --> show_time
prompt_colors -- "True Color \n lean" --> show_time
prompt_colors -- "True Color \n rainbow" --> show_time
prompt_colors -- "True Color \n classic" --> classic_prompt_color
classic_prompt_color --> show_time
show_time -- "lean" --> lean_prompt_height
show_time -- "classic" --> classic_prompt_separators
show_time -- "rainbow" --> rainbow_prompt_separators
lean_prompt_height -- "One Line" --> prompt_connection_andor_frame_color
lean_prompt_height -- "Two Line" --> prompt_connection
classic_prompt_separators --> powerline_prompt_heads
rainbow_prompt_separators --> powerline_prompt_heads
powerline_prompt_heads --> powerline_prompt_tails
powerline_prompt_tails --> powerline_prompt_height
powerline_prompt_height -- "One Line" --> prompt_connection_andor_frame_color
powerline_prompt_height -- "Two Line" --> prompt_connection
prompt_connection -- "lean" --> prompt_connection_andor_frame_color
prompt_connection -- "classic" --> powerline_prompt_frame
prompt_connection -- "rainbow" --> powerline_prompt_frame
powerline_prompt_frame --> prompt_connection_andor_frame_color
prompt_connection_andor_frame_color --> prompt_spacing
prompt_spacing --> icons
icons --> transient
transient --> finish
```