Update readme.md

This commit is contained in:
ZareMate 2024-12-10 07:15:44 +01:00 committed by GitHub
parent 98f327a034
commit 71d67f0f6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,18 +1,36 @@
```mermaid ```mermaid
graph TD; graph TD;
Wind1-->Root1; %% Class Definitions
Wind2-->Root1; classDef root fill:#ff0000,stroke:#000,stroke-width:2,color:#fff; %% Red background, white text
Solar1-->Root2; classDef branch fill:#000000,stroke:#000,stroke-width:2,color:#fff; %% Black background, white text
Solar2-->Root2; classDef wind fill:#808080,stroke:#000,stroke-width:2,color:#fff,shape:circle; %% Grey background, white text, circle
Root1-->Root3; classDef solar fill:#ffff00,stroke:#000,stroke-width:2,color:#000; %% Yellow background, black text
Root2-->Root3 classDef batt fill:#add8e6,stroke:#000,stroke-width:2,color:#000,shape:database; %% Light blue background, black text
Root3--> Splitter1; classDef splitter fill:#d3d3d3,stroke:#000,stroke-width:2,color:#000; %% Light grey background, black text
Splitter1-->Batt1;
Splitter1-->Batt2; %% Graph Nodes
Batt1-->|100|Root4; Wind1[Wind] --> Root1[Root];
Batt2-->|100|Root4; Wind2[Wind] --> Root1[Root];
Root4-->|200|Branch1; Solar1[Solar] --> Root2[Root];
Branch1-->Branch2; Solar2[Solar] --> Root2[Root];
Branch2-->Branch3 Root1[Root] --> Root3[Root];
Branch3-->Branch4 Root2[Root] --> Root3[Root];
Root3[Root] --> Splitter1[Splitter];
Splitter1[Splitter] --> Batt1[Batt];
Splitter1[Splitter] --> Batt2[Batt];
Batt1[Batt] -->|100| Root4[Root];
Batt2[Batt] -->|100| Root4[Root];
Root4[Root] -->|200| Branch1[Branch];
Branch1[Branch] --> Branch2[Branch];
Branch2[Branch] --> Branch3[Branch];
Branch3[Branch] --> Branch4[Branch];
Branch4[Branch] --> Branch5[Branch];
%% Class Assignments
class Root1,Root2,Root3,Root4 root;
class Branch1,Branch2,Branch3,Branch4,Branch5 branch;
class Wind1,Wind2 wind;
class Solar1,Solar2 solar;
class Batt1,Batt2 batt;
class Splitter1 splitter;
``` ```