diff --git a/Workflows/Battery Backups/APC Cell Wiring Diagram.md b/Workflows/Battery Backups/APC Cell Wiring Diagram.md index 5fbec87..2849c73 100644 --- a/Workflows/Battery Backups/APC Cell Wiring Diagram.md +++ b/Workflows/Battery Backups/APC Cell Wiring Diagram.md @@ -6,13 +6,15 @@ ## Wiring Diagram ``` mermaid graph TB - Cell1[Cell 1] -.-> AndersonNeg[Anderson Connector Negative] - Cell1 --> Cell2[Cell 2] - Cell2 --> Cell3[Cell 3] - Cell3 --> Fuse[30A Fuse] - Fuse --> Cell4[Cell 4] - Cell4 --> AndersonPos[Anderson Connector Positive] + %% Define cells and connections + Cell1["Cell 1
Black (Negative) to Black (Negative)"] -.-> AndersonNeg["Anderson Connector Negative
(Black)"] + Cell1 --> |"Red (Positive) to Black (Negative)"| Cell2["Cell 2
Red (Positive) to Black (Negative)"] + Cell2 --> |"Red (Positive) to Black (Negative)"| Cell3["Cell 3
Red (Positive) to Black (Negative)"] + Cell3 --> |"Red (Positive) to Fuse"| Fuse["30A Fuse"] + Fuse --> |"Red (Positive) to Black (Negative)"| Cell4["Cell 4
Red (Positive) to Black (Negative)"] + Cell4 --> |"Red (Positive) to Anderson Connector Positive"| AndersonPos["Anderson Connector Positive
(Red)"] + %% Define styles classDef battery fill:#f2f2f2,stroke:#000,stroke-width:2px; class Cell1,Cell2,Cell3,Cell4 battery; @@ -22,12 +24,17 @@ graph TB classDef anderson fill:#00ccff,stroke:#000,stroke-width:2px; class AndersonPos,AndersonNeg anderson; - classDef neutral fill:#ffffff,stroke:#000,stroke-width:1px; - class Cell1,Cell2,Cell3 neutral; - classDef positive fill:#ff0000,stroke:#000,stroke-width:2px; class AndersonPos positive; classDef negative fill:#000000,stroke:#fff,stroke-width:2px; - class AndersonNeg,Cell1 negative; + class AndersonNeg negative; + + %% Define line colors for clarity + linkStyle 0 stroke:#000,stroke-width:2px; %% Black to Black for Anderson Neg + linkStyle 1 stroke:#ff0000,stroke-width:2px; %% Red (Pos) to Black (Neg) + linkStyle 2 stroke:#ff0000,stroke-width:2px; %% Red (Pos) to Black (Neg) + linkStyle 3 stroke:#ff0000,stroke-width:2px; %% Red (Pos) to Fuse + linkStyle 4 stroke:#ff0000,stroke-width:2px; %% Red (Pos) to Black (Neg) + linkStyle 5 stroke:#ff0000,stroke-width:2px; %% Red (Pos) to Anderson Pos ``` \ No newline at end of file