Compare commits

...

2 Commits

Author SHA1 Message Date
1aa5a04b6a Changes to formatting 2024-12-12 18:51:34 +01:00
5f45bbdba4 fixed formatting 2024-12-12 18:51:06 +01:00
3 changed files with 49 additions and 2 deletions

View File

@ -0,0 +1,36 @@
```mermaid
graph TD;
%%{init: {'theme':'dark'}}%%
%% Class Definitions
classDef root fill:#ff0000,stroke:#000,stroke-width:2,color:#fff; %% Red background, white text
classDef branch fill:#000000,stroke:#000,stroke-width:2,color:#fff; %% Black background, white text
classDef wind fill:gray,stroke:#000,stroke-width:2,color:#fff; %% Grey background, white text circle
classDef solar fill:yellow,stroke:#000,stroke-width:2,color:#000; %% Yellow background, black text
classDef batt fill:blue,stroke:#000,stroke-width:2,color:#000; %% Light blue background, black text
classDef splitter fill:gray,stroke:#000,stroke-width:2,color:#000; %% Light grey background, black text
Wind1((Wiatrak))
Solar1[Solar]
Root1(Root)
Splitter1([Splitter])
Batt1[(Batteria)]
Branch1{{Branch}}
%% Graph Nodes
Wind1 -->| | Root1;
Solar1 -->| | Root1;
Root1 -->| | Splitter1;
Splitter1 -->| | Batt1;
Batt1 -->|100| Branch1;
%% Link Styles
linkStyle 0,1,2,3,4 stroke:red,stroke-width:2;
%% Class Assignments
class Root1 root;
class Branch1 branch;
class Wind1 wind;
class Solar1 solar;
class Batt1 batt;
class Splitter1 splitter;
```

View File

@ -1,12 +1,12 @@
```mermaid ```mermaid
%%{init: {'theme':'base'}}%%
graph TD; graph TD;
%%{init: {'theme':'dark'}}%%
%% Class Definitions %% Class Definitions
classDef root fill:#ff0000,stroke:#000,stroke-width:2,color:#fff; %% Red background, white text classDef root fill:#ff0000,stroke:#000,stroke-width:2,color:#fff; %% Red background, white text
classDef branch fill:#000000,stroke:#000,stroke-width:2,color:#fff; %% Black background, white text classDef branch fill:#000000,stroke:#000,stroke-width:2,color:#fff; %% Black background, white text
classDef wind fill:gray,stroke:#000,stroke-width:2,color:#fff; %% Grey background, white text circle classDef wind fill:gray,stroke:#000,stroke-width:2,color:#fff; %% Grey background, white text circle
classDef solar fill:yellow,stroke:#000,stroke-width:2,color:#000; %% Yellow background, black text classDef solar fill:yellow,stroke:#000,stroke-width:2,color:#000; %% Yellow background, black text
classDef batt fill:#add8e6,stroke:#000,stroke-width:2,color:#000; %% Light blue background, black text classDef batt fill:blue,stroke:#000,stroke-width:2,color:#000; %% Light blue background, black text
classDef splitter fill:gray,stroke:#000,stroke-width:2,color:#000; %% Light grey background, black text classDef splitter fill:gray,stroke:#000,stroke-width:2,color:#000; %% Light grey background, black text
Wind1((Wind)) Wind1((Wind))

View File

@ -1,7 +1,13 @@
```mermaid ```mermaid
graph TD; graph TD;
%%{init: {'theme':'dark'}}%%
%% Class Definitions %% Class Definitions
classDef root fill:#ff0000,stroke:#000,stroke-width:2,color:#fff; %% Red background, white text classDef root fill:#ff0000,stroke:#000,stroke-width:2,color:#fff; %% Red background, white text
classDef branch fill:#000000,stroke:#000,stroke-width:2,color:#fff; %% Black background, white text
classDef wind fill:gray,stroke:#000,stroke-width:2,color:#fff; %% Grey background, white text circle
classDef solar fill:yellow,stroke:#000,stroke-width:2,color:#000; %% Yellow background, black text
classDef batt fill:blue,stroke:#000,stroke-width:2,color:#000; %% Light blue background, black text
classDef splitter fill:gray,stroke:#000,stroke-width:2,color:#000; %% Light grey background, black text
Wind1((Wind)) Wind1((Wind))
Solar1[Solar] Solar1[Solar]
@ -22,4 +28,9 @@
%% Class Assignments %% Class Assignments
class Root1 root; class Root1 root;
class Branch1 branch;
class Wind1 wind;
class Solar1 solar;
class Batt1 batt;
class Splitter1 splitter;
``` ```