regen graph
This commit is contained in:
@@ -20,16 +20,14 @@ graph TD;
|
|||||||
c_80(c_80)
|
c_80(c_80)
|
||||||
c_10(c_10)
|
c_10(c_10)
|
||||||
counter_up(counter_up)
|
counter_up(counter_up)
|
||||||
main(main)
|
tick(tick)
|
||||||
__end__([<p>__end__</p>]):::last
|
__end__([<p>__end__</p>]):::last
|
||||||
__start__ --> init;
|
__start__ --> init;
|
||||||
c_10 --> counter_up;
|
c_10 --> counter_up;
|
||||||
c_80 --> counter_up;
|
c_80 --> counter_up;
|
||||||
counter_up -.-> __end__;
|
counter_up -.-> __end__;
|
||||||
counter_up -.-> main;
|
counter_up -.-> tick;
|
||||||
init --> main;
|
init --> tick;
|
||||||
main -. 0 .-> rate_same;
|
|
||||||
main -. 65 .-> rate_up;
|
|
||||||
prep --> roll;
|
prep --> roll;
|
||||||
r_g10 --> prep;
|
r_g10 --> prep;
|
||||||
r_g80 --> prep;
|
r_g80 --> prep;
|
||||||
@@ -43,6 +41,8 @@ graph TD;
|
|||||||
roll -. 10 .-> c_10;
|
roll -. 10 .-> c_10;
|
||||||
roll -. 240 .-> c_80;
|
roll -. 240 .-> c_80;
|
||||||
roll -. 1 .-> counter_up;
|
roll -. 1 .-> counter_up;
|
||||||
|
tick -. 0 .-> rate_same;
|
||||||
|
tick -. 65 .-> rate_up;
|
||||||
classDef default fill:#f2f0ff,line-height:1.2
|
classDef default fill:#f2f0ff,line-height:1.2
|
||||||
classDef first fill-opacity:0
|
classDef first fill-opacity:0
|
||||||
classDef last fill:#bfb6fc
|
classDef last fill:#bfb6fc
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ if __name__ == "__main__":
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
Path("graph.md").write_text(f"""# graph
|
(Path(__file__).parent / "graph.md").write_text(f"""# graph
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
{app.get_graph().draw_mermaid()}
|
{app.get_graph().draw_mermaid()}
|
||||||
|
|||||||
Reference in New Issue
Block a user