Skip to content

Commit

Permalink
Fix mermaid graph
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanCosman committed Sep 25, 2023
1 parent 596c314 commit effc122
Showing 1 changed file with 7 additions and 43 deletions.
50 changes: 7 additions & 43 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,9 @@
```mermaid
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
Here is a simple flow chart:

powerline_prompt_heads --> powerline_prompt_tails
powerline_prompt_tails --> powerline_prompt_style
powerline_prompt_style -- "One Line" --> prompt_connection_andor_frame_color
powerline_prompt_style -- "Two Line" --> prompt_connection
prompt_connection -- "lean" --> prompt_connection_andor_frame_color
prompt_connection -- "classic" --> powerline_prompt_right_frame
prompt_connection -- "rainbow" --> powerline_prompt_right_frame
powerline_prompt_right_frame --> prompt_connection_andor_frame_color
prompt_connection_andor_frame_color --> prompt_spacing
prompt_spacing --> icons
icons --> transient
transient --> finish
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```

0 comments on commit effc122

Please sign in to comment.