graph { // Graph generated by WireViz // https://github.com/formatc1702/WireViz graph [bgcolor=white fontname=arial nodesep=0.33 rankdir=LR ranksep=2] node [fillcolor=white fontname=arial shape=record style=filled] edge [fontname=arial style=bold] X1 [label=<
X1
6-pin
GND1
VCC2
GND3
VCC4
GND5
VCC6
From PSU
> fillcolor=white margin=0 shape=none style=filled] X2 [label=<
X2
2-pin
1GND
2VCC
To light A
> fillcolor=white margin=0 shape=none style=filled] X3 [label=<
X3
2-pin
1GND
2VCC
To light B
> fillcolor=white margin=0 shape=none style=filled] X4 [label=<
X4
2-pin
1GND
2VCC
To light C
> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#666600:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X4:p1l:w edge [color="#000000:#ff0000:#000000"] X1:p2r:e -- W1:w2:w W1:w2:e -- X4:p2l:w W1 [label=<
W1
2x24 AWG0.3 m
 
X1:1BNX4:1
X1:2RDX4:2
 
This cable is a bit longer
 
> fillcolor=white margin=0 shape=box style=""] edge [color="#000000:#666600:#000000"] X1:p3r:e -- W2:w1:w W2:w1:e -- X3:p1l:w edge [color="#000000:#ff0000:#000000"] X1:p4r:e -- W2:w2:w W2:w2:e -- X3:p2l:w W2 [label=<
W2
2x24 AWG0.2 m
 
X1:3BNX3:1
X1:4RDX3:2
 
This cable is a bit shorter
 
> fillcolor=white margin=0 shape=box style=""] edge [color="#000000:#666600:#000000"] X1:p5r:e -- W3:w1:w W3:w1:e -- X2:p1l:w edge [color="#000000:#ff0000:#000000"] X1:p6r:e -- W3:w2:w W3:w2:e -- X2:p2l:w W3 [label=<
W3
2x24 AWG0.1 m
 
X1:5BNX2:1
X1:6RDX2:2
 
This cable is shortest
 
> fillcolor=white margin=0 shape=box style=""] }