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
Molex KK 254male4-pin
GND1
VCC2
SCL3
SDA4
to microcontroller
> fillcolor=white margin=0 shape=none style=filled] X2 [label=<
X2
Molex KK 254female4-pin
1GND1
2VCC2
3SCL3
4SDA4
to accelerometer
> fillcolor=white margin=0 shape=none style=filled] X3 [label=<
X3
Molex KK 254female4-pin
1GND
2VCC
3SCL
4SDA
to temperature sensor
> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#895956:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w edge [color="#000000:#ff0000:#000000"] X1:p2r:e -- W1:w2:w W1:w2:e -- X2:p2l:w edge [color="#000000:#ff8000:#000000"] X1:p3r:e -- W1:w3:w W1:w3:e -- X2:p3l:w edge [color="#000000:#ffff00:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p4l:w W1 [label=<
W1
4x24 AWG0.3 m
 
X1:1BNX2:1
X1:2RDX2:2
X1:3OGX2:3
X1:4YEX2:4
 
This cable is a bit longer
 
> fillcolor=white margin=0 shape=box style=""] edge [color="#000000:#895956:#000000"] X2:p1r:e -- W2:w1:w W2:w1:e -- X3:p1l:w edge [color="#000000:#ff0000:#000000"] X2:p2r:e -- W2:w2:w W2:w2:e -- X3:p2l:w edge [color="#000000:#ff8000:#000000"] X2:p3r:e -- W2:w3:w W2:w3:e -- X3:p3l:w edge [color="#000000:#ffff00:#000000"] X2:p4r:e -- W2:w4:w W2:w4:e -- X3:p4l:w W2 [label=<
W2
4x24 AWG0.1 m
 
X2:1BNX3:1
X2:2RDX3:2
X2:3OGX3:3
X2:4YEX3:4
 
This cable is a bit shorter
 
> fillcolor=white margin=0 shape=box style=""] }