diff --git a/examples/demo01.gv b/examples/demo01.gv index f5f3246..ed4fa67 100644 --- a/examples/demo01.gv +++ b/examples/demo01.gv @@ -1,11 +1,97 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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
D-Subfemale9-pin
DCD1
RX2
TX3
DTR4
GND5
DSR6
RTS7
CTS8
RI9
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex KK 254female3-pin
1GND
2RX
3TX
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
D-Subfemale9-pin
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DCD1
RX2
TX3
DTR4
GND5
DSR6
RTS7
CTS8
RI9
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex KK 254female3-pin
+
+ + + + + + + + + + + + + +
1GND
2RX
3TX
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffffff:#000000"] X1:p5r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -15,7 +101,78 @@ graph { edge [color="#000000:#00ff00:#000000"] X1:p3r:e -- W1:w3:w W1:w3:e -- X2:p2l:w - edge [color="#000000:#aaaaaa:#000000"] + edge [color="#000000"] X1:p5r:e -- W1:ws:w - W1 [label=<
W1
3x0.25 mm²+ S0.2 m
 
X1:5WHX2:1
X1:2BNX2:3
X1:3GNX2:2
 
X1:5Shield
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + + +
3x0.25 mm²+ S0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:5WHX2:1
+ + + + +
+
X1:2BNX2:3
+ + + + +
+
X1:3GNX2:2
+ + + + +
+
 
X1:5Shield
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/examples/demo01.html b/examples/demo01.html index f613f50..383052f 100644 --- a/examples/demo01.html +++ b/examples/demo01.html @@ -1,12 +1,17 @@ -

Diagram

- + - - - + + + X1 @@ -59,116 +64,114 @@ W1 - - -W1 - -3x - -0.25 mm² - -+ S - -0.2 m -  -X1:5 -WH -X2:1 - - - -X1:2 -BN -X2:3 - - - -X1:3 -GN -X2:2 - - - -  -X1:5 -Shield - -  + + +W1 + +3x + +0.25 mm² + ++ S + +0.2 m +  +X1:5 +WH +X2:1 + + + +X1:2 +BN +X2:3 + + + +X1:3 +GN +X2:2 + + + +  +X1:5 +Shield + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + X2 - - -X2 - -Molex KK 254 - -female - -3-pin - -1 - -GND - -2 - -RX - -3 - -TX + + +X2 + +Molex KK 254 + +female + +3-pin + +1 + +GND + +2 + +RX + +3 + +TX W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + -

Bill of Materials

ItemQtyUnitDesignators
Connector, D-Sub, female, 9 pins1X1
Connector, Molex KK 254, female, 3 pins1X2
Cable, 3 x 0.25 mm² shielded0.2mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, D-Sub, female, 9 pins1X1
Connector, Molex KK 254, female, 3 pins1X2
Cable, 3 x 0.25 mm² shielded0.2mW1
\ No newline at end of file diff --git a/examples/demo01.png b/examples/demo01.png index ab487ee..18fd366 100644 Binary files a/examples/demo01.png and b/examples/demo01.png differ diff --git a/examples/demo01.svg b/examples/demo01.svg index 519925f..38a18a5 100644 --- a/examples/demo01.svg +++ b/examples/demo01.svg @@ -1,13 +1,13 @@ - - - - + + + X1 @@ -60,115 +60,113 @@ W1 - - -W1 - -3x - -0.25 mm² - -+ S - -0.2 m -  -X1:5 -WH -X2:1 - - - -X1:2 -BN -X2:3 - - - -X1:3 -GN -X2:2 - - - -  -X1:5 -Shield - -  + + +W1 + +3x + +0.25 mm² + ++ S + +0.2 m +  +X1:5 +WH +X2:1 + + + +X1:2 +BN +X2:3 + + + +X1:3 +GN +X2:2 + + + +  +X1:5 +Shield + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + X2 - - -X2 - -Molex KK 254 - -female - -3-pin - -1 - -GND - -2 - -RX - -3 - -TX + + +X2 + +Molex KK 254 + +female + +3-pin + +1 + +GND + +2 + +RX + +3 + +TX W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + diff --git a/examples/demo02.gv b/examples/demo02.gv index 746306f..65905c3 100644 --- a/examples/demo02.gv +++ b/examples/demo02.gv @@ -1,15 +1,197 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 254female8-pin
GND1
+5V2
SCL3
SDA4
MISO5
MOSI6
SCK7
N/C8
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex KK 254female4-pin
1GND
2+5V
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] - X3 [label=<
X3
Molex KK 254female4-pin
1GND
2+5V
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] - X4 [label=<
X4
Molex KK 254female5-pin
1GND
2+12V
3MISO
4MOSI
5SCK
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_1 [label=<
Crimp ferrule0.25 mm²YE
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_2 [label=<
Crimp ferrule0.25 mm²YE
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex KK 254female8-pin
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GND1
+5V2
SCL3
SDA4
MISO5
MOSI6
SCK7
N/C8
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2+5V
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] + X3 [label=< + + + + +
+ + +
X3
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2+5V
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] + X4 [label=< + + + + +
+ + +
X4
+
+ + + + +
Molex KK 254female5-pin
+
+ + + + + + + + + + + + + + + + + + + + + +
1GND
2+12V
3MISO
4MOSI
5SCK
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_1 [label=< + + +
+ + + + + +
Crimp ferrule0.25 mm²YE
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_2 [label=< + + +
+ + + + + +
Crimp ferrule0.25 mm²YE
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#000000:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -22,7 +204,84 @@ graph { edge [color="#000000:#00ff00:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p4l:w - W1 [label=<
W1
4x0.14 mm² (26 AWG)0.2 m
 
X1:1BKX2:1
X1:2RDX2:2
X1:3YEX2:3
X1:4GNX2:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
4x0.14 mm² (26 AWG)0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1BKX2:1
+ + + + +
+
X1:2RDX2:2
+ + + + +
+
X1:3YEX2:3
+ + + + +
+
X1:4GNX2:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#000000:#000000"] X1:p1r:e -- W2:w1:w W2:w1:e -- X3:p1l:w @@ -35,7 +294,84 @@ graph { edge [color="#000000:#00ff00:#000000"] X1:p4r:e -- W2:w4:w W2:w4:e -- X3:p4l:w - W2 [label=<
W2
4x0.14 mm² (26 AWG)0.4 m
 
X1:1BKX3:1
X1:2RDX3:2
X1:3YEX3:3
X1:4GNX3:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W2 [label=< + + + + +
+ + +
W2
+
+ + + + +
4x0.14 mm² (26 AWG)0.4 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1BKX3:1
+ + + + +
+
X1:2RDX3:2
+ + + + +
+
X1:3YEX3:3
+ + + + +
+
X1:4GNX3:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#000000:#000000"] X1:p1r:e -- W3:w1:w W3:w1:e -- X4:p1l:w @@ -48,12 +384,138 @@ graph { edge [color="#000000:#8000ff:#000000"] X1:p7r:e -- W3:w4:w W3:w4:e -- X4:p5l:w - W3 [label=<
W3
4x0.14 mm² (26 AWG)0.3 m
 
X1:1BKX4:1
X1:5BUX4:3
X1:6OGX4:4
X1:7VTX4:5
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W3 [label=< + + + + +
+ + +
W3
+
+ + + + +
4x0.14 mm² (26 AWG)0.3 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1BKX4:1
+ + + + +
+
X1:5BUX4:3
+ + + + +
+
X1:6OGX4:4
+ + + + +
+
X1:7VTX4:5
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#000000:#000000"] _ferrule_crimp_1:e -- W4:w1:w W4:w1:e -- X4:p1l:w edge [color="#000000:#ff0000:#000000"] _ferrule_crimp_2:e -- W4:w2:w W4:w2:e -- X4:p2l:w - W4 [label=<
W4
2x0.25 mm² (24 AWG)0.3 m
 
BKX4:1
RDX4:2
 
> fillcolor=white margin=0 shape=box style=""] + W4 [label=< + + + + +
+ + +
W4
+
+ + + + +
2x0.25 mm² (24 AWG)0.3 m
+
+ + + + + + + + + + + + + + + + + + + +
 
BKX4:1
+ + + + +
+
RDX4:2
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/examples/demo02.html b/examples/demo02.html index 9c3d15a..d8b70ba 100644 --- a/examples/demo02.html +++ b/examples/demo02.html @@ -1,348 +1,353 @@ -

Diagram

- + - - - + + + X1 - - -X1 - -Molex KK 254 - -female - -8-pin - -GND - -1 - -+5V - -2 - -SCL - -3 - -SDA - -4 - -MISO - -5 - -MOSI - -6 - -SCK - -7 - -N/C - -8 + + +X1 + +Molex KK 254 + +female + +8-pin + +GND + +1 + ++5V + +2 + +SCL + +3 + +SDA + +4 + +MISO + +5 + +MOSI + +6 + +SCK + +7 + +N/C + +8 W1 - - -W1 - -4x - -0.14 mm² (26 AWG) - -0.2 m -  -X1:1 -BK -X2:1 - - - -X1:2 -RD -X2:2 - - - -X1:3 -YE -X2:3 - - - -X1:4 -GN -X2:4 - - - -  + + +W1 + +4x + +0.14 mm² (26 AWG) + +0.2 m +  +X1:1 +BK +X2:1 + + + +X1:2 +RD +X2:2 + + + +X1:3 +YE +X2:3 + + + +X1:4 +GN +X2:4 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + W2 - - -W2 - -4x - -0.14 mm² (26 AWG) - -0.4 m -  -X1:1 -BK -X3:1 - - - -X1:2 -RD -X3:2 - - - -X1:3 -YE -X3:3 - - - -X1:4 -GN -X3:4 - - - -  + + +W2 + +4x + +0.14 mm² (26 AWG) + +0.4 m +  +X1:1 +BK +X3:1 + + + +X1:2 +RD +X3:2 + + + +X1:3 +YE +X3:3 + + + +X1:4 +GN +X3:4 + + + +  X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + W3 - - -W3 - -4x - -0.14 mm² (26 AWG) - -0.3 m -  -X1:1 -BK -X4:1 + + +W3 + +4x + +0.14 mm² (26 AWG) + +0.3 m +  +X1:1 +BK +X4:1 + + - - -X1:5 -BU -X4:3 +X1:5 +BU +X4:3 + + - - -X1:6 -OG -X4:4 +X1:6 +OG +X4:4 + + - - -X1:7 -VT -X4:5 +X1:7 +VT +X4:5 + + - - -  +  X1:e--W3:w - - - + + + X1:e--W3:w - - - + + + X1:e--W3:w - - - + + + X1:e--W3:w - - - + + + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -+5V - -3 - -SCL - -4 - -SDA + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + ++5V + +3 + +SCL + +4 + +SDA X3 - - -X3 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -+5V - -3 - -SCL - -4 - -SDA + + +X3 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + ++5V + +3 + +SCL + +4 + +SDA X4 - - -X4 - -Molex KK 254 - -female - -5-pin - -1 - -GND - -2 - -+12V - -3 - -MISO - -4 - -MOSI - -5 - -SCK + + +X4 + +Molex KK 254 + +female + +5-pin + +1 + +GND + +2 + ++12V + +3 + +MISO + +4 + +MOSI + +5 + +SCK @@ -360,16 +365,16 @@ W4 - - -W4 - -2x - -0.25 mm² (24 AWG) - -0.3 m -  + + +W4 + +2x + +0.25 mm² (24 AWG) + +0.3 m +  BK X4:1 @@ -412,101 +417,101 @@ W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + -

Bill of Materials

ItemQtyUnitDesignators
Connector, Crimp ferrule, 0.25 mm², YE2
Connector, Molex KK 254, female, 4 pins2X2, X3
Connector, Molex KK 254, female, 5 pins1X4
Connector, Molex KK 254, female, 8 pins1X1
Cable, 2 x 0.25 mm²0.3mW4
Wire, 0.14 mm², BK0.9mW1, W2, W3
Wire, 0.14 mm², BU0.3mW3
Wire, 0.14 mm², GN0.6mW1, W2
Wire, 0.14 mm², OG0.3mW3
Wire, 0.14 mm², RD0.6mW1, W2
Wire, 0.14 mm², VT0.3mW3
Wire, 0.14 mm², YE0.6mW1, W2
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Crimp ferrule, 0.25 mm², YE2
Connector, Molex KK 254, female, 4 pins2X2, X3
Connector, Molex KK 254, female, 5 pins1X4
Connector, Molex KK 254, female, 8 pins1X1
Cable, 2 x 0.25 mm²0.3mW4
Wire, 0.14 mm², BK0.9mW1, W2, W3
Wire, 0.14 mm², BU0.3mW3
Wire, 0.14 mm², GN0.6mW1, W2
Wire, 0.14 mm², OG0.3mW3
Wire, 0.14 mm², RD0.6mW1, W2
Wire, 0.14 mm², VT0.3mW3
Wire, 0.14 mm², YE0.6mW1, W2
\ No newline at end of file diff --git a/examples/demo02.png b/examples/demo02.png index bd5cadc..de439fa 100644 Binary files a/examples/demo02.png and b/examples/demo02.png differ diff --git a/examples/demo02.svg b/examples/demo02.svg index 4b2e3ec..9febbad 100644 --- a/examples/demo02.svg +++ b/examples/demo02.svg @@ -1,349 +1,349 @@ - - - - + + + X1 - - -X1 - -Molex KK 254 - -female - -8-pin - -GND - -1 - -+5V - -2 - -SCL - -3 - -SDA - -4 - -MISO - -5 - -MOSI - -6 - -SCK - -7 - -N/C - -8 + + +X1 + +Molex KK 254 + +female + +8-pin + +GND + +1 + ++5V + +2 + +SCL + +3 + +SDA + +4 + +MISO + +5 + +MOSI + +6 + +SCK + +7 + +N/C + +8 W1 - - -W1 - -4x - -0.14 mm² (26 AWG) - -0.2 m -  -X1:1 -BK -X2:1 - - - -X1:2 -RD -X2:2 - - - -X1:3 -YE -X2:3 - - - -X1:4 -GN -X2:4 - - - -  + + +W1 + +4x + +0.14 mm² (26 AWG) + +0.2 m +  +X1:1 +BK +X2:1 + + + +X1:2 +RD +X2:2 + + + +X1:3 +YE +X2:3 + + + +X1:4 +GN +X2:4 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + W2 - - -W2 - -4x - -0.14 mm² (26 AWG) - -0.4 m -  -X1:1 -BK -X3:1 - - - -X1:2 -RD -X3:2 - - - -X1:3 -YE -X3:3 - - - -X1:4 -GN -X3:4 - - - -  + + +W2 + +4x + +0.14 mm² (26 AWG) + +0.4 m +  +X1:1 +BK +X3:1 + + + +X1:2 +RD +X3:2 + + + +X1:3 +YE +X3:3 + + + +X1:4 +GN +X3:4 + + + +  X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + W3 - - -W3 - -4x - -0.14 mm² (26 AWG) - -0.3 m -  -X1:1 -BK -X4:1 + + +W3 + +4x + +0.14 mm² (26 AWG) + +0.3 m +  +X1:1 +BK +X4:1 + + - - -X1:5 -BU -X4:3 +X1:5 +BU +X4:3 + + - - -X1:6 -OG -X4:4 +X1:6 +OG +X4:4 + + - - -X1:7 -VT -X4:5 +X1:7 +VT +X4:5 + + - - -  +  X1:e--W3:w - - - + + + X1:e--W3:w - - - + + + X1:e--W3:w - - - + + + X1:e--W3:w - - - + + + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -+5V - -3 - -SCL - -4 - -SDA + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + ++5V + +3 + +SCL + +4 + +SDA X3 - - -X3 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -+5V - -3 - -SCL - -4 - -SDA + + +X3 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + ++5V + +3 + +SCL + +4 + +SDA X4 - - -X4 - -Molex KK 254 - -female - -5-pin - -1 - -GND - -2 - -+12V - -3 - -MISO - -4 - -MOSI - -5 - -SCK + + +X4 + +Molex KK 254 + +female + +5-pin + +1 + +GND + +2 + ++12V + +3 + +MISO + +4 + +MOSI + +5 + +SCK @@ -361,16 +361,16 @@ W4 - - -W4 - -2x - -0.25 mm² (24 AWG) - -0.3 m -  + + +W4 + +2x + +0.25 mm² (24 AWG) + +0.3 m +  BK X4:1 @@ -413,100 +413,100 @@ W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + diff --git a/examples/ex01.gv b/examples/ex01.gv index 7f21edb..d5c6786 100644 --- a/examples/ex01.gv +++ b/examples/ex01.gv @@ -1,11 +1,81 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 254female4-pin
GND1
VCC2
RX3
TX4
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex KK 254female4-pin
1GND
2VCC
3RX
4TX
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
RX3
TX4
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3RX
4TX
+
+> 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 @@ -18,7 +88,93 @@ graph { edge [color="#000000:#ffff00:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p3l:w - edge [color="#000000:#aaaaaa:#000000"] + edge [color="#000000"] X1:p1r:e -- W1:ws:w - W1 [label=<
W1
Serial4x0.25 mm² (24 AWG)+ S0.2 m
 
X1:1BNX2:1
X1:2RDX2:2
X1:3OGX2:4
X1:4YEX2:3
 
X1:1Shield
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + + + +
Serial4x0.25 mm² (24 AWG)+ S0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1BNX2:1
+ + + + +
+
X1:2RDX2:2
+ + + + +
+
X1:3OGX2:4
+ + + + +
+
X1:4YEX2:3
+ + + + +
+
 
X1:1Shield
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/examples/ex01.html b/examples/ex01.html index c03eef9..f21e86a 100644 --- a/examples/ex01.html +++ b/examples/ex01.html @@ -1,6 +1,11 @@ -

Diagram

- + X1 - - -X1 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -RX - -3 - -TX - -4 + + +X1 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +RX + +3 + +TX + +4 @@ -52,129 +57,127 @@ + S 0.2 m -  -X1:1 -BN -X2:1 - - +  +X1:1 +BN +X2:1 -X1:2 -RD -X2:2 - - + + +X1:2 +RD +X2:2 -X1:3 -OG -X2:4 - - + + +X1:3 +OG +X2:4 -X1:4 -YE -X2:3 - - + + +X1:4 +YE +X2:3 -  -X1:1 -Shield - + + +  +X1:1 +Shield +   X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w + + - - X1:e--W1:w - - - + + + X1:e--W1:w - - - + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -RX - -4 - -TX + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +RX + +4 + +TX W1:e--X2:w - - - + + + W1:e--X2:w + + - - W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins2X1, X2
Cable, Serial, 4 x 0.25 mm² shielded0.2mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins2X1, X2
Cable, Serial, 4 x 0.25 mm² shielded0.2mW1
\ No newline at end of file diff --git a/examples/ex01.png b/examples/ex01.png index b032fd4..2943cd2 100644 Binary files a/examples/ex01.png and b/examples/ex01.png differ diff --git a/examples/ex01.svg b/examples/ex01.svg index 4136e53..94bb9bc 100644 --- a/examples/ex01.svg +++ b/examples/ex01.svg @@ -1,7 +1,7 @@ - X1 - - -X1 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -RX - -3 - -TX - -4 + + +X1 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +RX + +3 + +TX + +4 @@ -53,128 +53,126 @@ + S 0.2 m -  -X1:1 -BN -X2:1 - - +  +X1:1 +BN +X2:1 -X1:2 -RD -X2:2 - - + + +X1:2 +RD +X2:2 -X1:3 -OG -X2:4 - - + + +X1:3 +OG +X2:4 -X1:4 -YE -X2:3 - - + + +X1:4 +YE +X2:3 -  -X1:1 -Shield - + + +  +X1:1 +Shield +   X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w + + - - X1:e--W1:w - - - + + + X1:e--W1:w - - - + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -RX - -4 - -TX + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +RX + +4 + +TX W1:e--X2:w - - - + + + W1:e--X2:w + + - - W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + diff --git a/examples/ex02.gv b/examples/ex02.gv index beff00d..66e2958 100644 --- a/examples/ex02.gv +++ b/examples/ex02.gv @@ -1,32 +1,287 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 Micro-Fitmale2-pin
GND1
VCC2
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex Micro-Fitfemale2-pin
1GND
2VCC
> fillcolor=white margin=0 shape=none style=filled] - X3 [label=<
X3
Molex Micro-Fitfemale2-pin
1GND
2VCC
> fillcolor=white margin=0 shape=none style=filled] - X4 [label=<
X4
Molex Micro-Fitfemale2-pin
1GND
2VCC
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex Micro-Fitmale2-pin
+
+ + + + + + + + + +
GND1
VCC2
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex Micro-Fitfemale2-pin
+
+ + + + + + + + + +
1GND
2VCC
+
+> fillcolor=white margin=0 shape=none style=filled] + X3 [label=< + + + + +
+ + +
X3
+
+ + + + +
Molex Micro-Fitfemale2-pin
+
+ + + + + + + + + +
1GND
2VCC
+
+> fillcolor=white margin=0 shape=none style=filled] + X4 [label=< + + + + +
+ + +
X4
+
+ + + + +
Molex Micro-Fitfemale2-pin
+
+ + + + + + + + + +
1GND
2VCC
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#000000:#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 - W1 [label=<
W1
2x0.25 mm² (24 AWG)0.2 m
 
X1:1BKX2:1
X1:2RDX2:2
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
2x0.25 mm² (24 AWG)0.2 m
+
+ + + + + + + + + + + + + + + + + + + +
 
X1:1BKX2:1
+ + + + +
+
X1:2RDX2:2
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] edge [color="#000000:#000000:#000000"] X1:p1r:e -- W2:w1:w W2:w1:e -- X3:p1l:w edge [color="#000000:#ff0000:#000000"] X1:p2r:e -- W2:w2:w W2:w2:e -- X3:p2l:w - W2 [label=<
W2
2x0.25 mm² (24 AWG)0.2 m
 
X1:1BKX3:1
X1:2RDX3:2
 
> fillcolor=white margin=0 shape=box style=""] + W2 [label=< + + + + +
+ + +
W2
+
+ + + + +
2x0.25 mm² (24 AWG)0.2 m
+
+ + + + + + + + + + + + + + + + + + + +
 
X1:1BKX3:1
+ + + + +
+
X1:2RDX3:2
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] edge [color="#000000:#000000:#000000"] X1:p1r:e -- W3:w1:w W3:w1:e -- X4:p1l:w edge [color="#000000:#ff0000:#000000"] X1:p2r:e -- W3:w2:w W3:w2:e -- X4:p2l:w - W3 [label=<
W3
2x20 AWG (0.75 mm²)0.2 m
 
X1:1BKX4:1
X1:2RDX4:2
 
> fillcolor=white margin=0 shape=box style=""] + W3 [label=< + + + + +
+ + +
W3
+
+ + + + +
2x20 AWG (0.75 mm²)0.2 m
+
+ + + + + + + + + + + + + + + + + + + +
 
X1:1BKX4:1
+ + + + +
+
X1:2RDX4:2
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/examples/ex02.html b/examples/ex02.html index 1991a26..7067bb6 100644 --- a/examples/ex02.html +++ b/examples/ex02.html @@ -1,128 +1,133 @@ -

Diagram

- + - - - + + + X1 - - -X1 - -Molex Micro-Fit - -male - -2-pin - -GND - -1 - -VCC - -2 + + +X1 + +Molex Micro-Fit + +male + +2-pin + +GND + +1 + +VCC + +2 W1 - - -W1 - -2x - -0.25 mm² (24 AWG) - -0.2 m -  -X1:1 -BK -X2:1 - - - -X1:2 -RD -X2:2 - - - -  + + +W1 + +2x + +0.25 mm² (24 AWG) + +0.2 m +  +X1:1 +BK +X2:1 + + + +X1:2 +RD +X2:2 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + W2 - - -W2 - -2x - -0.25 mm² (24 AWG) - -0.2 m -  -X1:1 -BK -X3:1 + + +W2 + +2x + +0.25 mm² (24 AWG) + +0.2 m +  +X1:1 +BK +X3:1 + + - - -X1:2 -RD -X3:2 +X1:2 +RD +X3:2 + + - - -  +  X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + W3 - - -W3 - -2x - -20 AWG (0.75 mm²) - -0.2 m -  + + +W3 + +2x + +20 AWG (0.75 mm²) + +0.2 m +  X1:1 BK X4:1 @@ -140,58 +145,58 @@ X1:e--W3:w - - - + + + X1:e--W3:w - - - + + + X2 - - -X2 - -Molex Micro-Fit - -female - -2-pin - -1 - -GND - -2 - -VCC + + +X2 + +Molex Micro-Fit + +female + +2-pin + +1 + +GND + +2 + +VCC X3 - - -X3 - -Molex Micro-Fit - -female - -2-pin - -1 - -GND - -2 - -VCC + + +X3 + +Molex Micro-Fit + +female + +2-pin + +1 + +GND + +2 + +VCC @@ -217,30 +222,30 @@ W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + @@ -258,4 +263,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex Micro-Fit, female, 2 pins3X2, X3, X4
Connector, Molex Micro-Fit, male, 2 pins1X1
Cable, 2 x 0.25 mm²0.4mW1, W2
Cable, 2 x 20 AWG0.2mW3
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex Micro-Fit, female, 2 pins3X2, X3, X4
Connector, Molex Micro-Fit, male, 2 pins1X1
Cable, 2 x 0.25 mm²0.4mW1, W2
Cable, 2 x 20 AWG0.2mW3
\ No newline at end of file diff --git a/examples/ex02.png b/examples/ex02.png index 414a48a..6af53ae 100644 Binary files a/examples/ex02.png and b/examples/ex02.png differ diff --git a/examples/ex02.svg b/examples/ex02.svg index 01e37c3..86efa03 100644 --- a/examples/ex02.svg +++ b/examples/ex02.svg @@ -1,129 +1,129 @@ - - - - + + + X1 - - -X1 - -Molex Micro-Fit - -male - -2-pin - -GND - -1 - -VCC - -2 + + +X1 + +Molex Micro-Fit + +male + +2-pin + +GND + +1 + +VCC + +2 W1 - - -W1 - -2x - -0.25 mm² (24 AWG) - -0.2 m -  -X1:1 -BK -X2:1 - - - -X1:2 -RD -X2:2 - - - -  + + +W1 + +2x + +0.25 mm² (24 AWG) + +0.2 m +  +X1:1 +BK +X2:1 + + + +X1:2 +RD +X2:2 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + W2 - - -W2 - -2x - -0.25 mm² (24 AWG) - -0.2 m -  -X1:1 -BK -X3:1 + + +W2 + +2x + +0.25 mm² (24 AWG) + +0.2 m +  +X1:1 +BK +X3:1 + + - - -X1:2 -RD -X3:2 +X1:2 +RD +X3:2 + + - - -  +  X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + W3 - - -W3 - -2x - -20 AWG (0.75 mm²) - -0.2 m -  + + +W3 + +2x + +20 AWG (0.75 mm²) + +0.2 m +  X1:1 BK X4:1 @@ -141,58 +141,58 @@ X1:e--W3:w - - - + + + X1:e--W3:w - - - + + + X2 - - -X2 - -Molex Micro-Fit - -female - -2-pin - -1 - -GND - -2 - -VCC + + +X2 + +Molex Micro-Fit + +female + +2-pin + +1 + +GND + +2 + +VCC X3 - - -X3 - -Molex Micro-Fit - -female - -2-pin - -1 - -GND - -2 - -VCC + + +X3 + +Molex Micro-Fit + +female + +2-pin + +1 + +GND + +2 + +VCC @@ -218,30 +218,30 @@ W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + diff --git a/examples/ex03.gv b/examples/ex03.gv index 60131aa..72cfc2d 100644 --- a/examples/ex03.gv +++ b/examples/ex03.gv @@ -1,13 +1,121 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 Micro-Fitmale2-pin
GND1
VCC2
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex Micro-Fitfemale2-pin
1GND
2VCC
> fillcolor=white margin=0 shape=none style=filled] - X3 [label=<
X3
Molex Micro-Fitfemale2-pin
1GND
2VCC
> fillcolor=white margin=0 shape=none style=filled] - X4 [label=<
X4
Molex Micro-Fitfemale2-pin
1GND
2VCC
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex Micro-Fitmale2-pin
+
+ + + + + + + + + +
GND1
VCC2
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex Micro-Fitfemale2-pin
+
+ + + + + + + + + +
1GND
2VCC
+
+> fillcolor=white margin=0 shape=none style=filled] + X3 [label=< + + + + +
+ + +
X3
+
+ + + + +
Molex Micro-Fitfemale2-pin
+
+ + + + + + + + + +
1GND
2VCC
+
+> fillcolor=white margin=0 shape=none style=filled] + X4 [label=< + + + + +
+ + +
X4
+
+ + + + +
Molex Micro-Fitfemale2-pin
+
+ + + + + + + + + +
1GND
2VCC
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#000000:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -26,5 +134,110 @@ graph { edge [color="#000000:#ff0000:#000000"] X1:p2r:e -- W1:w6:w W1:w6:e -- X4:p2l:w - W1 [label=<
W1
6x0.25 mm² (24 AWG)0.2 m
 
X1:1BKX2:1
X1:2RDX2:2
X1:1BKX3:1
X1:2RDX3:2
X1:1BKX4:1
X1:2RDX4:2
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
6x0.25 mm² (24 AWG)0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1BKX2:1
+ + + + +
+
X1:2RDX2:2
+ + + + +
+
X1:1BKX3:1
+ + + + +
+
X1:2RDX3:2
+ + + + +
+
X1:1BKX4:1
+ + + + +
+
X1:2RDX4:2
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] } diff --git a/examples/ex03.html b/examples/ex03.html index 91a79ff..dba9e94 100644 --- a/examples/ex03.html +++ b/examples/ex03.html @@ -1,6 +1,11 @@ -

Diagram

- + W1 - - -W1 - -6x - -0.25 mm² (24 AWG) - -0.2 m -  + + +W1 + +6x + +0.25 mm² (24 AWG) + +0.2 m +  X1:1 BK X2:1 @@ -228,4 +233,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex Micro-Fit, female, 2 pins3X2, X3, X4
Connector, Molex Micro-Fit, male, 2 pins1X1
Wire, 0.25 mm², BK0.6mW1
Wire, 0.25 mm², RD0.6mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex Micro-Fit, female, 2 pins3X2, X3, X4
Connector, Molex Micro-Fit, male, 2 pins1X1
Wire, 0.25 mm², BK0.6mW1
Wire, 0.25 mm², RD0.6mW1
\ No newline at end of file diff --git a/examples/ex03.png b/examples/ex03.png index 845a394..4870bec 100644 Binary files a/examples/ex03.png and b/examples/ex03.png differ diff --git a/examples/ex03.svg b/examples/ex03.svg index 31f869a..e476aea 100644 --- a/examples/ex03.svg +++ b/examples/ex03.svg @@ -1,7 +1,7 @@ - W1 - - -W1 - -6x - -0.25 mm² (24 AWG) - -0.2 m -  + + +W1 + +6x + +0.25 mm² (24 AWG) + +0.2 m +  X1:1 BK X2:1 diff --git a/examples/ex04.gv b/examples/ex04.gv index 6bb7195..0d34f1c 100644 --- a/examples/ex04.gv +++ b/examples/ex04.gv @@ -1,21 +1,117 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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] - _ferrule_crimp_1 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_2 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_3 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_4 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_5 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_6 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_7 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_8 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_9 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_10 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_11 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] - _ferrule_crimp_12 [label=<
Crimp ferrule
> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_1 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_2 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_3 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_4 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_5 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_6 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_7 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_8 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_9 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_10 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_11 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] + _ferrule_crimp_12 [label=< + + +
+ + +
Crimp ferrule
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#895956:#000000"] _ferrule_crimp_1:e -- W1:w1:w W1:w1:e -- _ferrule_crimp_7:w @@ -34,5 +130,110 @@ graph { edge [color="#000000:#0066ff:#000000"] _ferrule_crimp_6:e -- W1:w6:w W1:w6:e -- _ferrule_crimp_12:w - W1 [label=<
W1
6x0.25 mm² (24 AWG)0.2 m
 
BN
RD
OG
YE
GN
BU
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
6x0.25 mm² (24 AWG)0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
BN
+ + + + +
+
RD
+ + + + +
+
OG
+ + + + +
+
YE
+ + + + +
+
GN
+ + + + +
+
BU
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] } diff --git a/examples/ex04.html b/examples/ex04.html index d77034a..4d746fa 100644 --- a/examples/ex04.html +++ b/examples/ex04.html @@ -1,6 +1,11 @@ -

Diagram

- + W1 - - -W1 - -6x - -0.25 mm² (24 AWG) - -0.2 m -  + + +W1 + +6x + +0.25 mm² (24 AWG) + +0.2 m +  BN @@ -216,4 +221,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Crimp ferrule12
Wire, 0.25 mm², BN0.2mW1
Wire, 0.25 mm², BU0.2mW1
Wire, 0.25 mm², GN0.2mW1
Wire, 0.25 mm², OG0.2mW1
Wire, 0.25 mm², RD0.2mW1
Wire, 0.25 mm², YE0.2mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Crimp ferrule12
Wire, 0.25 mm², BN0.2mW1
Wire, 0.25 mm², BU0.2mW1
Wire, 0.25 mm², GN0.2mW1
Wire, 0.25 mm², OG0.2mW1
Wire, 0.25 mm², RD0.2mW1
Wire, 0.25 mm², YE0.2mW1
\ No newline at end of file diff --git a/examples/ex04.png b/examples/ex04.png index cf229a1..81f89ba 100644 Binary files a/examples/ex04.png and b/examples/ex04.png differ diff --git a/examples/ex04.svg b/examples/ex04.svg index 62d82ae..b6a1702 100644 --- a/examples/ex04.svg +++ b/examples/ex04.svg @@ -1,7 +1,7 @@ - W1 - - -W1 - -6x - -0.25 mm² (24 AWG) - -0.2 m -  + + +W1 + +6x + +0.25 mm² (24 AWG) + +0.2 m +  BN diff --git a/examples/ex05.gv b/examples/ex05.gv index cbfb2a9..51f2e15 100644 --- a/examples/ex05.gv +++ b/examples/ex05.gv @@ -1,12 +1,121 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 254female4-pin
GND1
VCC2
SCL3
SDA4
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex KK 254female4-pin
1GND1
2VCC2
3SCL3
4SDA4
> fillcolor=white margin=0 shape=none style=filled] - X3 [label=<
X3
Molex KK 254female4-pin
1GND
2VCC
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
SCL3
SDA4
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + + + + + +
1GND1
2VCC2
3SCL3
4SDA4
+
+> fillcolor=white margin=0 shape=none style=filled] + X3 [label=< + + + + +
+ + +
X3
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ff66cc:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -19,7 +128,85 @@ graph { edge [color="#000000:#8000ff:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p4l:w - W1 [label=<
W1
I2C4x0.25 mm²0.2 m
 
X1:1PKX2:1
X1:2TQX2:2
X1:3YEX2:3
X1:4VTX2:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + + +
I2C4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1PKX2:1
+ + + + +
+
X1:2TQX2:2
+ + + + +
+
X1:3YEX2:3
+ + + + +
+
X1:4VTX2:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#ff66cc:#000000"] X2:p1r:e -- W2:w1:w W2:w1:e -- X3:p1l:w @@ -32,5 +219,83 @@ graph { edge [color="#000000:#8000ff:#000000"] X2:p4r:e -- W2:w4:w W2:w4:e -- X3:p4l:w - W2 [label=<
W2
I2C4x0.25 mm²0.2 m
 
X2:1PKX3:1
X2:2TQX3:2
X2:3YEX3:3
X2:4VTX3:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W2 [label=< + + + + +
+ + +
W2
+
+ + + + + +
I2C4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X2:1PKX3:1
+ + + + +
+
X2:2TQX3:2
+ + + + +
+
X2:3YEX3:3
+ + + + +
+
X2:4VTX3:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] } diff --git a/examples/ex05.html b/examples/ex05.html index b47a291..4747bd9 100644 --- a/examples/ex05.html +++ b/examples/ex05.html @@ -1,12 +1,17 @@ -

Diagram

- + - - - + + + X1 @@ -39,18 +44,18 @@ W1 - - -W1 - -I2C - -4x - -0.25 mm² - -0.2 m -  + + +W1 + +I2C + +4x + +0.25 mm² + +0.2 m +  X1:1 PK X2:1 @@ -145,18 +150,18 @@ W2 - - -W2 - -I2C - -4x - -0.25 mm² - -0.2 m -  + + +W2 + +I2C + +4x + +0.25 mm² + +0.2 m +  X2:1 PK X3:1 @@ -298,4 +303,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins3X1, X2, X3
Wire, I2C, 0.25 mm², PK0.4mW1, W2
Wire, I2C, 0.25 mm², TQ0.4mW1, W2
Wire, I2C, 0.25 mm², VT0.4mW1, W2
Wire, I2C, 0.25 mm², YE0.4mW1, W2
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins3X1, X2, X3
Wire, I2C, 0.25 mm², PK0.4mW1, W2
Wire, I2C, 0.25 mm², TQ0.4mW1, W2
Wire, I2C, 0.25 mm², VT0.4mW1, W2
Wire, I2C, 0.25 mm², YE0.4mW1, W2
\ No newline at end of file diff --git a/examples/ex05.png b/examples/ex05.png index eef1c1a..1fe9c10 100644 Binary files a/examples/ex05.png and b/examples/ex05.png differ diff --git a/examples/ex05.svg b/examples/ex05.svg index 6711867..bee32f1 100644 --- a/examples/ex05.svg +++ b/examples/ex05.svg @@ -1,13 +1,13 @@ - - - - + + + X1 @@ -40,18 +40,18 @@ W1 - - -W1 - -I2C - -4x - -0.25 mm² - -0.2 m -  + + +W1 + +I2C + +4x + +0.25 mm² + +0.2 m +  X1:1 PK X2:1 @@ -146,18 +146,18 @@ W2 - - -W2 - -I2C - -4x - -0.25 mm² - -0.2 m -  + + +W2 + +I2C + +4x + +0.25 mm² + +0.2 m +  X2:1 PK X3:1 diff --git a/examples/ex06.gv b/examples/ex06.gv index c594a06..b258d32 100644 --- a/examples/ex06.gv +++ b/examples/ex06.gv @@ -1,15 +1,225 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 254female4-pin
GND1
VCC2
SCL3
SDA4
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex KK 254female4-pin
1GND
2VCC
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] - X3 [label=<
X3
Molex KK 254female4-pin
GND1
VCC2
SCL3
SDA4
> fillcolor=white margin=0 shape=none style=filled] - X4 [label=<
X4
Molex KK 254female4-pin
1GND
2VCC
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] - X5 [label=<
X5
Molex KK 254female4-pin
GND1
VCC2
SCL3
SDA4
> fillcolor=white margin=0 shape=none style=filled] - X6 [label=<
X6
Molex KK 254female4-pin
1GND
2VCC
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
SCL3
SDA4
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] + X3 [label=< + + + + +
+ + +
X3
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
SCL3
SDA4
+
+> fillcolor=white margin=0 shape=none style=filled] + X4 [label=< + + + + +
+ + +
X4
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] + X5 [label=< + + + + +
+ + +
X5
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
SCL3
SDA4
+
+> fillcolor=white margin=0 shape=none style=filled] + X6 [label=< + + + + +
+ + +
X6
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ff66cc:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -22,7 +232,84 @@ graph { edge [color="#000000:#8000ff:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p4l:w - W1 [label=<
W1
4x0.25 mm²0.2 m
 
X1:1PKX2:1
X1:2TQX2:2
X1:3YEX2:3
X1:4VTX2:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1PKX2:1
+ + + + +
+
X1:2TQX2:2
+ + + + +
+
X1:3YEX2:3
+ + + + +
+
X1:4VTX2:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#ff66cc:#000000"] X3:p1r:e -- W2:w1:w W2:w1:e -- X2:p1l:w @@ -35,7 +322,84 @@ graph { edge [color="#000000:#8000ff:#000000"] X3:p4r:e -- W2:w4:w W2:w4:e -- X2:p4l:w - W2 [label=<
W2
4x0.25 mm²0.2 m
 
X3:1PKX2:1
X3:2TQX2:2
X3:3YEX2:3
X3:4VTX2:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W2 [label=< + + + + +
+ + +
W2
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X3:1PKX2:1
+ + + + +
+
X3:2TQX2:2
+ + + + +
+
X3:3YEX2:3
+ + + + +
+
X3:4VTX2:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#ff66cc:#000000"] X3:p1r:e -- W3:w1:w W3:w1:e -- X4:p1l:w @@ -48,7 +412,84 @@ graph { edge [color="#000000:#8000ff:#000000"] X3:p4r:e -- W3:w4:w W3:w4:e -- X4:p4l:w - W3 [label=<
W3
4x0.25 mm²0.2 m
 
X3:1PKX4:1
X3:2TQX4:2
X3:3YEX4:3
X3:4VTX4:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W3 [label=< + + + + +
+ + +
W3
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X3:1PKX4:1
+ + + + +
+
X3:2TQX4:2
+ + + + +
+
X3:3YEX4:3
+ + + + +
+
X3:4VTX4:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#ff66cc:#000000"] X5:p1r:e -- W4:w1:w W4:w1:e -- X4:p1l:w @@ -61,7 +502,84 @@ graph { edge [color="#000000:#8000ff:#000000"] X5:p4r:e -- W4:w4:w W4:w4:e -- X4:p4l:w - W4 [label=<
W4
4x0.25 mm²0.2 m
 
X5:1PKX4:1
X5:2TQX4:2
X5:3YEX4:3
X5:4VTX4:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W4 [label=< + + + + +
+ + +
W4
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X5:1PKX4:1
+ + + + +
+
X5:2TQX4:2
+ + + + +
+
X5:3YEX4:3
+ + + + +
+
X5:4VTX4:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#ff66cc:#000000"] X5:p1r:e -- W5:w1:w W5:w1:e -- X6:p1l:w @@ -74,5 +592,82 @@ graph { edge [color="#000000:#8000ff:#000000"] X5:p4r:e -- W5:w4:w W5:w4:e -- X6:p4l:w - W5 [label=<
W5
4x0.25 mm²0.2 m
 
X5:1PKX6:1
X5:2TQX6:2
X5:3YEX6:3
X5:4VTX6:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W5 [label=< + + + + +
+ + +
W5
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X5:1PKX6:1
+ + + + +
+
X5:2TQX6:2
+ + + + +
+
X5:3YEX6:3
+ + + + +
+
X5:4VTX6:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] } diff --git a/examples/ex06.html b/examples/ex06.html index 6f921c9..6bb99f0 100644 --- a/examples/ex06.html +++ b/examples/ex06.html @@ -1,438 +1,443 @@ -

Diagram

- + - - - + + + X1 - - -X1 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X1 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W1 - - -W1 - -4x - -0.25 mm² - -0.2 m -  -X1:1 -PK -X2:1 - - - -X1:2 -TQ -X2:2 - - - -X1:3 -YE -X2:3 - - - -X1:4 -VT -X2:4 - - - -  + + +W1 + +4x + +0.25 mm² + +0.2 m +  +X1:1 +PK +X2:1 + + + +X1:2 +TQ +X2:2 + + + +X1:3 +YE +X2:3 + + + +X1:4 +VT +X2:4 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA X3 - - -X3 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X3 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W2 - - -W2 - -4x - -0.25 mm² - -0.2 m -  -X3:1 -PK -X2:1 - - - -X3:2 -TQ -X2:2 - - - -X3:3 -YE -X2:3 - - - -X3:4 -VT -X2:4 - - - -  + + +W2 + +4x + +0.25 mm² + +0.2 m +  +X3:1 +PK +X2:1 + + + +X3:2 +TQ +X2:2 + + + +X3:3 +YE +X2:3 + + + +X3:4 +VT +X2:4 + + + +  X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + W3 - - -W3 - -4x - -0.25 mm² - -0.2 m -  -X3:1 -PK -X4:1 - - - -X3:2 -TQ -X4:2 - - - -X3:3 -YE -X4:3 - - - -X3:4 -VT -X4:4 - - - -  + + +W3 + +4x + +0.25 mm² + +0.2 m +  +X3:1 +PK +X4:1 + + + +X3:2 +TQ +X4:2 + + + +X3:3 +YE +X4:3 + + + +X3:4 +VT +X4:4 + + + +  X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X4 - - -X4 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA + + +X4 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA X5 - - -X5 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X5 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W4 - - -W4 - -4x - -0.25 mm² - -0.2 m -  -X5:1 -PK -X4:1 + + +W4 + +4x + +0.25 mm² + +0.2 m +  +X5:1 +PK +X4:1 + + - - -X5:2 -TQ -X4:2 +X5:2 +TQ +X4:2 + + - - -X5:3 -YE -X4:3 +X5:3 +YE +X4:3 + + - - -X5:4 -VT -X4:4 +X5:4 +VT +X4:4 + + - - -  +  X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + W5 - - -W5 - -4x - -0.25 mm² - -0.2 m -  + + +W5 + +4x + +0.25 mm² + +0.2 m +  X5:1 PK X6:1 @@ -462,30 +467,30 @@ X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + @@ -519,114 +524,114 @@ W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + @@ -658,4 +663,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins6X1, X2, X3, X4, X5, X6
Wire, 0.25 mm², PK1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², TQ1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², VT1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², YE1.0mW1, W2, W3, W4, W5
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins6X1, X2, X3, X4, X5, X6
Wire, 0.25 mm², PK1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², TQ1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², VT1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², YE1.0mW1, W2, W3, W4, W5
\ No newline at end of file diff --git a/examples/ex06.png b/examples/ex06.png index 4281849..18e8f1e 100644 Binary files a/examples/ex06.png and b/examples/ex06.png differ diff --git a/examples/ex06.svg b/examples/ex06.svg index 130aad3..dd77858 100644 --- a/examples/ex06.svg +++ b/examples/ex06.svg @@ -1,439 +1,439 @@ - - - - + + + X1 - - -X1 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X1 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W1 - - -W1 - -4x - -0.25 mm² - -0.2 m -  -X1:1 -PK -X2:1 - - - -X1:2 -TQ -X2:2 - - - -X1:3 -YE -X2:3 - - - -X1:4 -VT -X2:4 - - - -  + + +W1 + +4x + +0.25 mm² + +0.2 m +  +X1:1 +PK +X2:1 + + + +X1:2 +TQ +X2:2 + + + +X1:3 +YE +X2:3 + + + +X1:4 +VT +X2:4 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA X3 - - -X3 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X3 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W2 - - -W2 - -4x - -0.25 mm² - -0.2 m -  -X3:1 -PK -X2:1 - - - -X3:2 -TQ -X2:2 - - - -X3:3 -YE -X2:3 - - - -X3:4 -VT -X2:4 - - - -  + + +W2 + +4x + +0.25 mm² + +0.2 m +  +X3:1 +PK +X2:1 + + + +X3:2 +TQ +X2:2 + + + +X3:3 +YE +X2:3 + + + +X3:4 +VT +X2:4 + + + +  X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + W3 - - -W3 - -4x - -0.25 mm² - -0.2 m -  -X3:1 -PK -X4:1 - - - -X3:2 -TQ -X4:2 - - - -X3:3 -YE -X4:3 - - - -X3:4 -VT -X4:4 - - - -  + + +W3 + +4x + +0.25 mm² + +0.2 m +  +X3:1 +PK +X4:1 + + + +X3:2 +TQ +X4:2 + + + +X3:3 +YE +X4:3 + + + +X3:4 +VT +X4:4 + + + +  X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X4 - - -X4 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA + + +X4 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA X5 - - -X5 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X5 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W4 - - -W4 - -4x - -0.25 mm² - -0.2 m -  -X5:1 -PK -X4:1 + + +W4 + +4x + +0.25 mm² + +0.2 m +  +X5:1 +PK +X4:1 + + - - -X5:2 -TQ -X4:2 +X5:2 +TQ +X4:2 + + - - -X5:3 -YE -X4:3 +X5:3 +YE +X4:3 + + - - -X5:4 -VT -X4:4 +X5:4 +VT +X4:4 + + - - -  +  X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + W5 - - -W5 - -4x - -0.25 mm² - -0.2 m -  + + +W5 + +4x + +0.25 mm² + +0.2 m +  X5:1 PK X6:1 @@ -463,30 +463,30 @@ X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + @@ -520,114 +520,114 @@ W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + diff --git a/examples/ex07.gv b/examples/ex07.gv index 3248873..e93d2b2 100644 --- a/examples/ex07.gv +++ b/examples/ex07.gv @@ -1,16 +1,125 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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
TE 776164-1female35-pin
5
6
Unconnected pins are not shown
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
D-Subfemale9-pin
2
7
Unconnected pins are not shown
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + + +
+ + +
X1
+
+ + + + +
TE 776164-1female35-pin
+
+ + + + + + + +
5
6
+
+ + +
Unconnected pins are not shown
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + + +
+ + +
X2
+
+ + + + +
D-Subfemale9-pin
+
+ + + + + + + +
2
7
+
+ + +
Unconnected pins are not shown
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffff00:#000000"] X1:p5r:e -- C1:w1:w C1:w1:e -- X2:p7l:w edge [color="#000000:#00ff00:#000000"] X1:p6r:e -- C1:w2:w C1:w2:e -- X2:p2l:w - C1 [label=<
C1
2x20 AWG1 m
 
X1:5YEX2:7
X1:6GNX2:2
 
> fillcolor=white margin=0 shape=box style=""] + C1 [label=< + + + + +
+ + +
C1
+
+ + + + +
2x20 AWG1 m
+
+ + + + + + + + + + + + + + + + + + + +
 
X1:5YEX2:7
+ + + + +
+
X1:6GNX2:2
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/examples/ex07.html b/examples/ex07.html index a9b69a0..8d78500 100644 --- a/examples/ex07.html +++ b/examples/ex07.html @@ -1,12 +1,17 @@ -

Diagram

- + - - - + + + X1 @@ -29,16 +34,16 @@ C1 - - -C1 - -2x - -20 AWG - -1 m -  + + +C1 + +2x + +20 AWG + +1 m +  X1:5 YE X2:7 @@ -102,4 +107,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, D-Sub, female, 9 pins1X2
Connector, TE 776164-1, female, 35 pins1X1
Cable, 2 x 20 AWG1mC1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, D-Sub, female, 9 pins1X2
Connector, TE 776164-1, female, 35 pins1X1
Cable, 2 x 20 AWG1mC1
\ No newline at end of file diff --git a/examples/ex07.png b/examples/ex07.png index 6c27acd..65be34b 100644 Binary files a/examples/ex07.png and b/examples/ex07.png differ diff --git a/examples/ex07.svg b/examples/ex07.svg index d78cbff..e96072d 100644 --- a/examples/ex07.svg +++ b/examples/ex07.svg @@ -1,13 +1,13 @@ - - - - + + + X1 @@ -30,16 +30,16 @@ C1 - - -C1 - -2x - -20 AWG - -1 m -  + + +C1 + +2x + +20 AWG + +1 m +  X1:5 YE X2:7 diff --git a/examples/ex08.gv b/examples/ex08.gv index 25a3e8c..f7ad156 100644 --- a/examples/ex08.gv +++ b/examples/ex08.gv @@ -1,10 +1,50 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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] - Key [label=<
Key
Phone Connectormale 3.5
DotT
DashR
GroundS
> fillcolor=white margin=0 shape=none style=filled] + Key [label=< + + + + + + +
+ + +
Key
+
+ + + +
Phone Connectormale 3.5
+
+ + + + + + + + + + + + + +
DotT
DashR
GroundS
+
+ + +
+
+ + +
Tip, Ring, and Sleeve
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffffff:#000000"] Key:pSr:e -- W1:w1:w edge [color="#000000:#895956:#000000"] @@ -13,5 +53,92 @@ graph { Key:pTr:e -- W1:w3:w edge [color="#000000:#aaaaaa:#000000"] Key:pSr:e -- W1:ws:w - W1 [label=<
W1
3x24 AWG+ S0.2 m
 
Key:SWH
Key:RBN
Key:TGN
 
Key:SShield
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + + + +
+ + +
W1
+
+ + + + + + + +
3x24 AWG+ S0.2 mBK
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
Key:SWH
+ + + + +
+
Key:RBN
+ + + + +
+
Key:TGN
+ + + + +
+
 
Key:SShield
 
+
+ + +
+ + +
+
+
+ + +
Cross-section
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/examples/ex08.html b/examples/ex08.html index ae67208..9994462 100644 --- a/examples/ex08.html +++ b/examples/ex08.html @@ -1,99 +1,118 @@ -

Diagram

- + - - - + + + Key - - -Key - -Phone Connector - -male 3.5 - -Dot - -T - -Dash - -R - -Ground - -S + + +Key + +Phone Connector + +male 3.5 + +Dot + +T + +Dash + +R + +Ground + +S + + + +Tip, Ring, and Sleeve W1 - - -W1 - -3x - -24 AWG - -+ S - -0.2 m -  -Key:S -WH - - - -Key:R -BN - - - -Key:T -GN - - - -  -Key:S -Shield - -  + + +W1 + +3x + +24 AWG + ++ S + +0.2 m + +BK + + +  +Key:S +WH + + + +Key:R +BN + + + +Key:T +GN + + + +  +Key:S +Shield + + + +  + + + +Cross-section Key:e--W1:w - - - + + + Key:e--W1:w - - - + + + Key:e--W1:w - - - + + + Key:e--W1:w - - - + + + -

Bill of Materials

ItemQtyUnitDesignators
Connector, Phone Connector, male 3.5, 3 pins1Key
Cable, 3 x 24 AWG shielded0.2mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Phone Connector, male 3.5, 3 pins1Key
Cable, 3 x 24 AWG shielded0.2mW1
\ No newline at end of file diff --git a/examples/ex08.png b/examples/ex08.png index 0358723..a4969d3 100644 Binary files a/examples/ex08.png and b/examples/ex08.png differ diff --git a/examples/ex08.svg b/examples/ex08.svg index d24b758..26a5acd 100644 --- a/examples/ex08.svg +++ b/examples/ex08.svg @@ -1,99 +1,113 @@ - - - - + + + Key - - -Key - -Phone Connector - -male 3.5 - -Dot - -T - -Dash - -R - -Ground - -S + + +Key + +Phone Connector + +male 3.5 + +Dot + +T + +Dash + +R + +Ground + +S + + + +Tip, Ring, and Sleeve W1 - - -W1 - -3x - -24 AWG - -+ S - -0.2 m -  -Key:S -WH - - - -Key:R -BN - - - -Key:T -GN - - - -  -Key:S -Shield - -  + + +W1 + +3x + +24 AWG + ++ S + +0.2 m + +BK + + +  +Key:S +WH + + + +Key:R +BN + + + +Key:T +GN + + + +  +Key:S +Shield + + + +  + + + +Cross-section Key:e--W1:w - - - + + + Key:e--W1:w - - - + + + Key:e--W1:w - - - + + + Key:e--W1:w - - - + + + diff --git a/examples/ex09.gv b/examples/ex09.gv index c81b76a..b965d27 100644 --- a/examples/ex09.gv +++ b/examples/ex09.gv @@ -1,11 +1,245 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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
D-Submale25-pin
SENSE_P_11
SENSE_N_114
SENSE_P_23
SENSE_N_216
SENSE_P_35
SENSE_N_318
SENSE_P_47
SENSE_N_420
SENSE_P_59
SENSE_N_522
SENSE_P_611
SENSE_N_624
GND13
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
F48female48-pin
z2
b2
d2
z4
b4
d4
z6
b6
d6
z8
b8
d8
z10
b10
d10
z12
b12
d12
z14
b14
d14
z16
b16
d16
z18
b18
d18
z20
b20
d20
z22
b22
d22
z24
b24
d24
z26
b26
d26
z28
b28
d28
z30
b30
d30
z32
b32
d32
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
D-Submale25-pin
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SENSE_P_11
SENSE_N_114
SENSE_P_23
SENSE_N_216
SENSE_P_35
SENSE_N_318
SENSE_P_47
SENSE_N_420
SENSE_P_59
SENSE_N_522
SENSE_P_611
SENSE_N_624
GND13
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
F48female48-pin
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
z2
b2
d2
z4
b4
d4
z6
b6
d6
z8
b8
d8
z10
b10
d10
z12
b12
d12
z14
b14
d14
z16
b16
d16
z18
b18
d18
z20
b20
d20
z22
b22
d22
z24
b24
d24
z26
b26
d26
z28
b28
d28
z30
b30
d30
z32
b32
d32
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#895956:#895956:#895956:#000000"] X1:p1r:e -- W1:w2:w W1:w2:e -- X2:pd4l:w @@ -42,7 +276,228 @@ graph { edge [color="#000000:#999999:#ff66cc:#999999:#000000"] X1:p24r:e -- W1:w11:w W1:w11:e -- X2:pz30l:w - edge [color="#000000:#aaaaaa:#000000"] + edge [color="#000000"] X1:p13r:e -- W1:ws:w - W1 [label=<
W1
12x0.25 mm²+ S0.2 m
 
X1:14WHX2:z2
X1:1BNX2:d4
X1:16GNX2:z8
X1:3YEX2:d10
X1:18GYX2:z14
X1:5PKX2:d16
X1:20BUX2:z18
X1:7RDX2:d20
X1:22BKX2:z24
X1:9VTX2:d26
X1:24GYPKX2:z30
X1:11RDBUX2:d32
 
X1:13Shield
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + + +
12x0.25 mm²+ S0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:14WHX2:z2
+ + + + + + +
+
X1:1BNX2:d4
+ + + + + + +
+
X1:16GNX2:z8
+ + + + + + +
+
X1:3YEX2:d10
+ + + + + + +
+
X1:18GYX2:z14
+ + + + + + +
+
X1:5PKX2:d16
+ + + + + + +
+
X1:20BUX2:z18
+ + + + + + +
+
X1:7RDX2:d20
+ + + + + + +
+
X1:22BKX2:z24
+ + + + + + +
+
X1:9VTX2:d26
+ + + + + + +
+
X1:24GYPKX2:z30
+ + + + + + +
+
X1:11RDBUX2:d32
+ + + + + + +
+
 
X1:13Shield
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/examples/ex09.html b/examples/ex09.html index a710467..de91d70 100644 --- a/examples/ex09.html +++ b/examples/ex09.html @@ -1,6 +1,11 @@ -

Diagram

- + W1 - - -W1 - -12x - -0.25 mm² - -+ S - -0.2 m -  + + +W1 + +12x + +0.25 mm² + ++ S + +0.2 m +  X1:14 WH X2:z2 @@ -186,8 +191,8 @@   X1:13 Shield - -  + +  @@ -300,9 +305,7 @@ X1:e--W1:w - - - + @@ -523,4 +526,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, D-Sub, male, 25 pins1X1
Connector, F48, female, 48 pins1X2
Cable, 12 x 0.25 mm² shielded0.2mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, D-Sub, male, 25 pins1X1
Connector, F48, female, 48 pins1X2
Cable, 12 x 0.25 mm² shielded0.2mW1
\ No newline at end of file diff --git a/examples/ex09.png b/examples/ex09.png index e2a39ac..57ccebb 100644 Binary files a/examples/ex09.png and b/examples/ex09.png differ diff --git a/examples/ex09.svg b/examples/ex09.svg index faea978..fc73283 100644 --- a/examples/ex09.svg +++ b/examples/ex09.svg @@ -1,7 +1,7 @@ - W1 - - -W1 - -12x - -0.25 mm² - -+ S - -0.2 m -  + + +W1 + +12x + +0.25 mm² + ++ S + +0.2 m +  X1:14 WH X2:z2 @@ -187,8 +187,8 @@   X1:13 Shield - -  + +  @@ -301,9 +301,7 @@ X1:e--W1:w - - - + diff --git a/examples/ex10.gv b/examples/ex10.gv index 788eb37..05b20db 100644 --- a/examples/ex10.gv +++ b/examples/ex10.gv @@ -1,11 +1,113 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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
Stewart Connector SS-37000-002male8-pin
DA+1
DA-2
DB+3
DC+4
DC-5
DB-6
DD+7
DD-8
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Stewart Connector SS-37000-002male8-pin
1DB+
2DB-
3DA+
4DD+
5DD-
6DA-
7DC+
8DC-
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Stewart Connector SS-37000-002male8-pin
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DA+1
DA-2
DB+3
DC+4
DC-5
DB-6
DD+7
DD-8
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Stewart Connector SS-37000-002male8-pin
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
1DB+
2DB-
3DA+
4DD+
5DD-
6DA-
7DC+
8DC-
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffffff:#00ff00:#ffffff:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p3l:w @@ -30,5 +132,155 @@ graph { edge [color="#000000:#895956:#895956:#895956:#000000"] X1:p8r:e -- W1:w8:w W1:w8:e -- X2:p5l:w - W1 [label=<
W1
CAT5e8x24 AWG1 m
 
X1:1WHGNX2:3
X1:2GNX2:6
X1:3WHOGX2:1
X1:4BUX2:7
X1:5WHBUX2:8
X1:6OGX2:2
X1:7WHBNX2:4
X1:8BNX2:5
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + + +
CAT5e8x24 AWG1 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1WHGNX2:3
+ + + + + + +
+
X1:2GNX2:6
+ + + + + + +
+
X1:3WHOGX2:1
+ + + + + + +
+
X1:4BUX2:7
+ + + + + + +
+
X1:5WHBUX2:8
+ + + + + + +
+
X1:6OGX2:2
+ + + + + + +
+
X1:7WHBNX2:4
+ + + + + + +
+
X1:8BNX2:5
+ + + + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/examples/ex10.html b/examples/ex10.html index 9c23134..2ea09f1 100644 --- a/examples/ex10.html +++ b/examples/ex10.html @@ -1,12 +1,17 @@ -

Diagram

- + - - - + + + X1 @@ -55,18 +60,18 @@ W1 - - -W1 - -CAT5e - -8x - -24 AWG - -1 m -  + + +W1 + +CAT5e + +8x + +24 AWG + +1 m +  X1:1 WHGN X2:3 @@ -324,4 +329,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Stewart Connector SS-37000-002, male, 8 pins2X1, X2
Cable, CAT5e, 8 x 24 AWG1mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Stewart Connector SS-37000-002, male, 8 pins2X1, X2
Cable, CAT5e, 8 x 24 AWG1mW1
\ No newline at end of file diff --git a/examples/ex10.png b/examples/ex10.png index 1dc19de..294cab5 100644 Binary files a/examples/ex10.png and b/examples/ex10.png differ diff --git a/examples/ex10.svg b/examples/ex10.svg index 4542e37..ec707bd 100644 --- a/examples/ex10.svg +++ b/examples/ex10.svg @@ -1,13 +1,13 @@ - - - - + + + X1 @@ -56,18 +56,18 @@ W1 - - -W1 - -CAT5e - -8x - -24 AWG - -1 m -  + + +W1 + +CAT5e + +8x + +24 AWG + +1 m +  X1:1 WHGN X2:3 diff --git a/tutorial/readme.md b/tutorial/readme.md index 4fcf033..5361dfa 100644 --- a/tutorial/readme.md +++ b/tutorial/readme.md @@ -329,6 +329,7 @@ connections: * Part number information can be added to parts * Only provided fields will be added to the diagram and bom * Bundles can have part information specified by wire +* Additional parts can be added to the bom ```yaml @@ -337,11 +338,11 @@ connectors: type: Molex KK 254 pincount: 4 subtype: female - manufacturer: Molex - manufacturer_part_number: 22013047 + manufacturer: Molex # set manufacter name + mpn: 22013047 # set manufacturer part number X2: <<: *template1 # reuse template - internal_part_number: CON4 + pn: CON4 # set an internal part number X3: <<: *template1 # reuse template @@ -352,16 +353,16 @@ cables: gauge: 0.25 mm2 color_code: IEC manufacturer: CablesCo - manufacturer_part_number: ABC123 - internal_part_number: CAB1 + mpn: ABC123 + pn: CAB1 W2: category: bundle length: 1 gauge: 0.25 mm2 colors: [YE, BK, BK, RD] - manufacturer: [WiresCo,WiresCo,WiresCo,WiresCo] - manufacturer_part_number: [W1-YE,W1-BK,W1-BK,W1-RD] - internal_part_number: [WIRE1,WIRE2,WIRE2,WIRE3] + manufacturer: [WiresCo,WiresCo,WiresCo,WiresCo] # set a manufacter per wire + mpn: [W1-YE,W1-BK,W1-BK,W1-RD] + pn: [WIRE1,WIRE2,WIRE2,WIRE3] connections: @@ -373,6 +374,17 @@ connections: - X1: [1-4] - W2: [1-4] - X3: [1-4] + +additional_bom_items: + - # define an additional item to add to the bill of materials + description: Label, pinout information + qty: 2 + designators: + - X2 + - X3 + manufacturer: generic company + mpn: Label1 + pn: Label-ID-1 ``` ![](tutorial08.png) diff --git a/tutorial/tutorial01.gv b/tutorial/tutorial01.gv index 43bcf57..0bff27c 100644 --- a/tutorial/tutorial01.gv +++ b/tutorial/tutorial01.gv @@ -1,11 +1,69 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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
4-pin
1
2
3
4
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
4-pin
1
2
3
4
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + +
4-pin
+
+ + + + + + + + + + + + + +
1
2
3
4
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + +
4-pin
+
+ + + + + + + + + + + + + +
1
2
3
4
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffffff:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -18,5 +76,81 @@ graph { edge [color="#000000:#ffffff:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p4l:w - W1 [label=<
W1
4x1 m
 
X1:1X2:1
X1:2X2:2
X1:3X2:3
X1:4X2:4
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + +
+ + +
W1
+
+ + + +
4x1 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1X2:1
+ + + + +
+
X1:2X2:2
+ + + + +
+
X1:3X2:3
+ + + + +
+
X1:4X2:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/tutorial/tutorial01.html b/tutorial/tutorial01.html index 758af38..ea94b0d 100644 --- a/tutorial/tutorial01.html +++ b/tutorial/tutorial01.html @@ -1,12 +1,17 @@ -

Diagram

- + - - - + + + X1 @@ -27,14 +32,14 @@ W1 - - -W1 - -4x - -1 m -  + + +W1 + +4x + +1 m +  X1:1 X2:1 @@ -132,4 +137,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, 4 pins2X1, X2
Cable, 4 wires1mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, 4 pins2X1, X2
Cable, 4 wires1mW1
\ No newline at end of file diff --git a/tutorial/tutorial01.png b/tutorial/tutorial01.png index 47cd8c1..5955db0 100644 Binary files a/tutorial/tutorial01.png and b/tutorial/tutorial01.png differ diff --git a/tutorial/tutorial01.svg b/tutorial/tutorial01.svg index 0eb74d4..b65920b 100644 --- a/tutorial/tutorial01.svg +++ b/tutorial/tutorial01.svg @@ -1,13 +1,13 @@ - - - - + + + X1 @@ -28,14 +28,14 @@ W1 - - -W1 - -4x - -1 m -  + + +W1 + +4x + +1 m +  X1:1 X2:1 diff --git a/tutorial/tutorial02.gv b/tutorial/tutorial02.gv index 28c3416..d75ce0f 100644 --- a/tutorial/tutorial02.gv +++ b/tutorial/tutorial02.gv @@ -1,11 +1,73 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 254female4-pin
1
2
3
4
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex KK 254female4-pin
1
2
3
4
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + +
1
2
3
4
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + +
1
2
3
4
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffffff:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -18,5 +80,82 @@ graph { edge [color="#000000:#ffff00:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p3l:w - W1 [label=<
W1
4x0.25 mm² (24 AWG)1 m
 
X1:1WHX2:1
X1:2BNX2:2
X1:3GNX2:4
X1:4YEX2:3
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
4x0.25 mm² (24 AWG)1 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1WHX2:1
+ + + + +
+
X1:2BNX2:2
+ + + + +
+
X1:3GNX2:4
+ + + + +
+
X1:4YEX2:3
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/tutorial/tutorial02.html b/tutorial/tutorial02.html index 54364a4..a73c607 100644 --- a/tutorial/tutorial02.html +++ b/tutorial/tutorial02.html @@ -1,12 +1,17 @@ -

Diagram

- + - - - + + + X1 @@ -31,16 +36,16 @@ W1 - - -W1 - -4x - -0.25 mm² (24 AWG) - -1 m -  + + +W1 + +4x + +0.25 mm² (24 AWG) + +1 m +  X1:1 WH X2:1 @@ -146,4 +151,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins2X1, X2
Cable, 4 x 0.25 mm²1mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins2X1, X2
Cable, 4 x 0.25 mm²1mW1
\ No newline at end of file diff --git a/tutorial/tutorial02.png b/tutorial/tutorial02.png index d74d995..b5c6b29 100644 Binary files a/tutorial/tutorial02.png and b/tutorial/tutorial02.png differ diff --git a/tutorial/tutorial02.svg b/tutorial/tutorial02.svg index 660077b..8c1a79b 100644 --- a/tutorial/tutorial02.svg +++ b/tutorial/tutorial02.svg @@ -1,13 +1,13 @@ - - - - + + + X1 @@ -32,16 +32,16 @@ W1 - - -W1 - -4x - -0.25 mm² (24 AWG) - -1 m -  + + +W1 + +4x + +0.25 mm² (24 AWG) + +1 m +  X1:1 WH X2:1 diff --git a/tutorial/tutorial03.gv b/tutorial/tutorial03.gv index 2e26ec2..42fe4e3 100644 --- a/tutorial/tutorial03.gv +++ b/tutorial/tutorial03.gv @@ -1,11 +1,81 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 254female4-pin
GND1
VCC2
RX3
TX4
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex KK 254female4-pin
1GND
2VCC
3RX
4TX
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
RX3
TX4
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3RX
4TX
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffffff:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -18,7 +88,92 @@ graph { edge [color="#000000:#ffff00:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p3l:w - edge [color="#000000:#aaaaaa:#000000"] + edge [color="#000000"] X1:p1r:e -- W1:ws:w - W1 [label=<
W1
4x0.25 mm² (24 AWG)+ S1 m
 
X1:1WHX2:1
X1:2BNX2:2
X1:3GNX2:4
X1:4YEX2:3
 
X1:1Shield
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + + +
4x0.25 mm² (24 AWG)+ S1 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1WHX2:1
+ + + + +
+
X1:2BNX2:2
+ + + + +
+
X1:3GNX2:4
+ + + + +
+
X1:4YEX2:3
+ + + + +
+
 
X1:1Shield
 
+
+> fillcolor=white margin=0 shape=box style=""] } diff --git a/tutorial/tutorial03.html b/tutorial/tutorial03.html index be0c951..6da9e56 100644 --- a/tutorial/tutorial03.html +++ b/tutorial/tutorial03.html @@ -1,6 +1,11 @@ -

Diagram

- + X1 - - -X1 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -RX - -3 - -TX - -4 + + +X1 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +RX + +3 + +TX + +4 @@ -50,129 +55,127 @@ + S 1 m -  -X1:1 -WH -X2:1 - - +  +X1:1 +WH +X2:1 -X1:2 -BN -X2:2 - - + + +X1:2 +BN +X2:2 -X1:3 -GN -X2:4 - - + + +X1:3 +GN +X2:4 -X1:4 -YE -X2:3 - - + + +X1:4 +YE +X2:3 -  -X1:1 -Shield - + + +  +X1:1 +Shield +   X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w + + - - X1:e--W1:w - - - + + + X1:e--W1:w - - - + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -RX - -4 - -TX + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +RX + +4 + +TX W1:e--X2:w - - - + + + W1:e--X2:w + + - - W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins2X1, X2
Cable, 4 x 0.25 mm² shielded1mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins2X1, X2
Cable, 4 x 0.25 mm² shielded1mW1
\ No newline at end of file diff --git a/tutorial/tutorial03.png b/tutorial/tutorial03.png index cd8a282..1f3600b 100644 Binary files a/tutorial/tutorial03.png and b/tutorial/tutorial03.png differ diff --git a/tutorial/tutorial03.svg b/tutorial/tutorial03.svg index 2287098..919ee84 100644 --- a/tutorial/tutorial03.svg +++ b/tutorial/tutorial03.svg @@ -1,7 +1,7 @@ - X1 - - -X1 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -RX - -3 - -TX - -4 + + +X1 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +RX + +3 + +TX + +4 @@ -51,128 +51,126 @@ + S 1 m -  -X1:1 -WH -X2:1 - - +  +X1:1 +WH +X2:1 -X1:2 -BN -X2:2 - - + + +X1:2 +BN +X2:2 -X1:3 -GN -X2:4 - - + + +X1:3 +GN +X2:4 -X1:4 -YE -X2:3 - - + + +X1:4 +YE +X2:3 -  -X1:1 -Shield - + + +  +X1:1 +Shield +   X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w + + - - X1:e--W1:w - - - + + + X1:e--W1:w - - - + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -RX - -4 - -TX + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +RX + +4 + +TX W1:e--X2:w - - - + + + W1:e--X2:w + + - - W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + diff --git a/tutorial/tutorial04.gv b/tutorial/tutorial04.gv index 9d7302c..e2a63f3 100644 --- a/tutorial/tutorial04.gv +++ b/tutorial/tutorial04.gv @@ -1,12 +1,136 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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] + 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 @@ -19,7 +143,89 @@ graph { 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=""] + 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 @@ -32,5 +238,87 @@ graph { 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=""] + 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=""] } diff --git a/tutorial/tutorial04.html b/tutorial/tutorial04.html index 593d33a..74dc944 100644 --- a/tutorial/tutorial04.html +++ b/tutorial/tutorial04.html @@ -1,307 +1,312 @@ -

Diagram

- + - - - + + + X1 - - -X1 - -Molex KK 254 - -male - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 - -to microcontroller + + +X1 + +Molex KK 254 + +male + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 + +to microcontroller W1 - - -W1 - -4x - -24 AWG - -0.3 m -  -X1:1 -BN -X2:1 - - - -X1:2 -RD -X2:2 - - - -X1:3 -OG -X2:3 - - - -X1:4 -YE -X2:4 - - - -  -This cable is a bit longer -  + + +W1 + +4x + +24 AWG + +0.3 m +  +X1:1 +BN +X2:1 + + + +X1:2 +RD +X2:2 + + + +X1:3 +OG +X2:3 + + + +X1:4 +YE +X2:4 + + + +  + +This cable is a bit longer X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -1 - -2 - -VCC - -2 - -3 - -SCL - -3 - -4 - -SDA - -4 - -to accelerometer + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +1 + +2 + +VCC + +2 + +3 + +SCL + +3 + +4 + +SDA + +4 + +to accelerometer W2 - - -W2 - -4x - -24 AWG - -0.1 m -  -X2:1 -BN -X3:1 - - - -X2:2 -RD -X3:2 - - - -X2:3 -OG -X3:3 - - - -X2:4 -YE -X3:4 - - - -  -This cable is a bit shorter -  + + +W2 + +4x + +24 AWG + +0.1 m +  +X2:1 +BN +X3:1 + + + +X2:2 +RD +X3:2 + + + +X2:3 +OG +X3:3 + + + +X2:4 +YE +X3:4 + + + +  + +This cable is a bit shorter X2:e--W2:w - - - + + + X2:e--W2:w - - - + + + X2:e--W2:w - - - + + + X2:e--W2:w - - - + + + X3 - - -X3 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA - -to temperature sensor + + +X3 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA + +to temperature sensor W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins2X2, X3
Connector, Molex KK 254, male, 4 pins1X1
Cable, 4 x 24 AWG0.4mW1, W2
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins2X2, X3
Connector, Molex KK 254, male, 4 pins1X1
Cable, 4 x 24 AWG0.4mW1, W2
\ No newline at end of file diff --git a/tutorial/tutorial04.png b/tutorial/tutorial04.png index bb6eab8..d48e2ba 100644 Binary files a/tutorial/tutorial04.png and b/tutorial/tutorial04.png differ diff --git a/tutorial/tutorial04.svg b/tutorial/tutorial04.svg index edac222..a354ba2 100644 --- a/tutorial/tutorial04.svg +++ b/tutorial/tutorial04.svg @@ -1,307 +1,307 @@ - - - - + + + X1 - - -X1 - -Molex KK 254 - -male - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 - -to microcontroller + + +X1 + +Molex KK 254 + +male + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 + +to microcontroller W1 - - -W1 - -4x - -24 AWG - -0.3 m -  -X1:1 -BN -X2:1 - - - -X1:2 -RD -X2:2 - - - -X1:3 -OG -X2:3 - - - -X1:4 -YE -X2:4 - - - -  -This cable is a bit longer -  + + +W1 + +4x + +24 AWG + +0.3 m +  +X1:1 +BN +X2:1 + + + +X1:2 +RD +X2:2 + + + +X1:3 +OG +X2:3 + + + +X1:4 +YE +X2:4 + + + +  + +This cable is a bit longer X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -1 - -2 - -VCC - -2 - -3 - -SCL - -3 - -4 - -SDA - -4 - -to accelerometer + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +1 + +2 + +VCC + +2 + +3 + +SCL + +3 + +4 + +SDA + +4 + +to accelerometer W2 - - -W2 - -4x - -24 AWG - -0.1 m -  -X2:1 -BN -X3:1 - - - -X2:2 -RD -X3:2 - - - -X2:3 -OG -X3:3 - - - -X2:4 -YE -X3:4 - - - -  -This cable is a bit shorter -  + + +W2 + +4x + +24 AWG + +0.1 m +  +X2:1 +BN +X3:1 + + + +X2:2 +RD +X3:2 + + + +X2:3 +OG +X3:3 + + + +X2:4 +YE +X3:4 + + + +  + +This cable is a bit shorter X2:e--W2:w - - - + + + X2:e--W2:w - - - + + + X2:e--W2:w - - - + + + X2:e--W2:w - - - + + + X3 - - -X3 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA - -to temperature sensor + + +X3 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA + +to temperature sensor W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + diff --git a/tutorial/tutorial05.gv b/tutorial/tutorial05.gv index e275b2f..92ad8df 100644 --- a/tutorial/tutorial05.gv +++ b/tutorial/tutorial05.gv @@ -1,14 +1,93 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 8981female4-pin
1+12V
2GND
3GND
4+5V
> fillcolor=white margin=0 shape=none style=filled] - _F1_1 [label=<
Crimp ferrule0.5 mm²OG
> fillcolor=white margin=0 shape=none style=filled] - _F1_2 [label=<
Crimp ferrule0.5 mm²OG
> fillcolor=white margin=0 shape=none style=filled] - _F1_3 [label=<
Crimp ferrule0.5 mm²OG
> fillcolor=white margin=0 shape=none style=filled] - _F1_4 [label=<
Crimp ferrule0.5 mm²OG
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex 8981female4-pin
+
+ + + + + + + + + + + + + + + + + +
1+12V
2GND
3GND
4+5V
+
+> fillcolor=white margin=0 shape=none style=filled] + _F1_1 [label=< + + +
+ + + + + +
Crimp ferrule0.5 mm²OG
+
+> fillcolor=white margin=0 shape=none style=filled] + _F1_2 [label=< + + +
+ + + + + +
Crimp ferrule0.5 mm²OG
+
+> fillcolor=white margin=0 shape=none style=filled] + _F1_3 [label=< + + +
+ + + + + +
Crimp ferrule0.5 mm²OG
+
+> fillcolor=white margin=0 shape=none style=filled] + _F1_4 [label=< + + +
+ + + + + +
Crimp ferrule0.5 mm²OG
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffff00:#000000"] _F1_1:e -- W1:w1:w W1:w1:e -- X1:p1l:w @@ -21,5 +100,82 @@ graph { edge [color="#000000:#ff0000:#000000"] _F1_4:e -- W1:w4:w W1:w4:e -- X1:p4l:w - W1 [label=<
W1
4x0.5 mm²0.3 m
 
YEX1:1
BKX1:2
BKX1:3
RDX1:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
4x0.5 mm²0.3 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
YEX1:1
+ + + + +
+
BKX1:2
+ + + + +
+
BKX1:3
+ + + + +
+
RDX1:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] } diff --git a/tutorial/tutorial05.html b/tutorial/tutorial05.html index 9b565ab..6dfed4e 100644 --- a/tutorial/tutorial05.html +++ b/tutorial/tutorial05.html @@ -1,12 +1,17 @@ -

Diagram

- + - - - + + + X1 @@ -52,16 +57,16 @@ W1 - - -W1 - -4x - -0.5 mm² - -0.3 m -  + + +W1 + +4x + +0.5 mm² + +0.3 m +  YE X1:1 @@ -181,4 +186,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Crimp ferrule, 0.5 mm², OG4
Connector, Molex 8981, female, 4 pins1X1
Wire, 0.5 mm², BK0.6mW1
Wire, 0.5 mm², RD0.3mW1
Wire, 0.5 mm², YE0.3mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Crimp ferrule, 0.5 mm², OG4
Connector, Molex 8981, female, 4 pins1X1
Wire, 0.5 mm², BK0.6mW1
Wire, 0.5 mm², RD0.3mW1
Wire, 0.5 mm², YE0.3mW1
\ No newline at end of file diff --git a/tutorial/tutorial05.png b/tutorial/tutorial05.png index 53c6f54..b526720 100644 Binary files a/tutorial/tutorial05.png and b/tutorial/tutorial05.png differ diff --git a/tutorial/tutorial05.svg b/tutorial/tutorial05.svg index 4dad696..3645cb0 100644 --- a/tutorial/tutorial05.svg +++ b/tutorial/tutorial05.svg @@ -1,13 +1,13 @@ - - - - + + + X1 @@ -53,16 +53,16 @@ W1 - - -W1 - -4x - -0.5 mm² - -0.3 m -  + + +W1 + +4x + +0.5 mm² + +0.3 m +  YE X1:1 diff --git a/tutorial/tutorial06.gv b/tutorial/tutorial06.gv index a498972..028ebe5 100644 --- a/tutorial/tutorial06.gv +++ b/tutorial/tutorial06.gv @@ -1,13 +1,81 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 8981female4-pin
1+12V
2GND
3GND
4+5V
> fillcolor=white margin=0 shape=none style=filled] - F_10 [label=<
Crimp ferrule1.0 mm²YE
> fillcolor=white margin=0 shape=none style=filled] - _F_05_1 [label=<
Crimp ferrule0.5 mm²OG
> fillcolor=white margin=0 shape=none style=filled] - _F_05_2 [label=<
Crimp ferrule0.5 mm²OG
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex 8981female4-pin
+
+ + + + + + + + + + + + + + + + + +
1+12V
2GND
3GND
4+5V
+
+> fillcolor=white margin=0 shape=none style=filled] + F_10 [label=< + + +
+ + + + + +
Crimp ferrule1.0 mm²YE
+
+> fillcolor=white margin=0 shape=none style=filled] + _F_05_1 [label=< + + +
+ + + + + +
Crimp ferrule0.5 mm²OG
+
+> fillcolor=white margin=0 shape=none style=filled] + _F_05_2 [label=< + + +
+ + + + + +
Crimp ferrule0.5 mm²OG
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#ffff00:#000000"] _F_05_1:e -- W1:w1:w W1:w1:e -- X1:p1l:w @@ -20,5 +88,82 @@ graph { edge [color="#000000:#ff0000:#000000"] _F_05_2:e -- W1:w4:w W1:w4:e -- X1:p4l:w - W1 [label=<
W1
4x0.5 mm²0.3 m
 
YEX1:1
BKX1:2
BKX1:3
RDX1:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
4x0.5 mm²0.3 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
YEX1:1
+ + + + +
+
BKX1:2
+ + + + +
+
BKX1:3
+ + + + +
+
RDX1:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] } diff --git a/tutorial/tutorial06.html b/tutorial/tutorial06.html index 551c93f..583e90d 100644 --- a/tutorial/tutorial06.html +++ b/tutorial/tutorial06.html @@ -1,12 +1,17 @@ -

Diagram

- + - - - + + + X1 @@ -52,16 +57,16 @@ W1 - - -W1 - -4x - -0.5 mm² - -0.3 m -  + + +W1 + +4x + +0.5 mm² + +0.3 m +  YE X1:1 @@ -168,4 +173,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Crimp ferrule, 0.5 mm², OG2
Connector, Crimp ferrule, 1.0 mm², YE1
Connector, Molex 8981, female, 4 pins1X1
Wire, 0.5 mm², BK0.6mW1
Wire, 0.5 mm², RD0.3mW1
Wire, 0.5 mm², YE0.3mW1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Crimp ferrule, 0.5 mm², OG2
Connector, Crimp ferrule, 1.0 mm², YE1
Connector, Molex 8981, female, 4 pins1X1
Wire, 0.5 mm², BK0.6mW1
Wire, 0.5 mm², RD0.3mW1
Wire, 0.5 mm², YE0.3mW1
\ No newline at end of file diff --git a/tutorial/tutorial06.png b/tutorial/tutorial06.png index 3146000..8f56fb7 100644 Binary files a/tutorial/tutorial06.png and b/tutorial/tutorial06.png differ diff --git a/tutorial/tutorial06.svg b/tutorial/tutorial06.svg index 2075925..f01645b 100644 --- a/tutorial/tutorial06.svg +++ b/tutorial/tutorial06.svg @@ -1,13 +1,13 @@ - - - - + + + X1 @@ -53,16 +53,16 @@ W1 - - -W1 - -4x - -0.5 mm² - -0.3 m -  + + +W1 + +4x + +0.5 mm² + +0.3 m +  YE X1:1 diff --git a/tutorial/tutorial07.gv b/tutorial/tutorial07.gv index 8f471e9..2ec7ec0 100644 --- a/tutorial/tutorial07.gv +++ b/tutorial/tutorial07.gv @@ -1,15 +1,225 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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 254female4-pin
GND1
VCC2
SCL3
SDA4
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
Molex KK 254female4-pin
1GND
2VCC
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] - X3 [label=<
X3
Molex KK 254female4-pin
GND1
VCC2
SCL3
SDA4
> fillcolor=white margin=0 shape=none style=filled] - X4 [label=<
X4
Molex KK 254female4-pin
1GND
2VCC
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] - X5 [label=<
X5
Molex KK 254female4-pin
GND1
VCC2
SCL3
SDA4
> fillcolor=white margin=0 shape=none style=filled] - X6 [label=<
X6
Molex KK 254female4-pin
1GND
2VCC
3SCL
4SDA
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + +
+ + +
X1
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
SCL3
SDA4
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + +
+ + +
X2
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] + X3 [label=< + + + + +
+ + +
X3
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
SCL3
SDA4
+
+> fillcolor=white margin=0 shape=none style=filled] + X4 [label=< + + + + +
+ + +
X4
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] + X5 [label=< + + + + +
+ + +
X5
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
GND1
VCC2
SCL3
SDA4
+
+> fillcolor=white margin=0 shape=none style=filled] + X6 [label=< + + + + +
+ + +
X6
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + + + + + +
1GND
2VCC
3SCL
4SDA
+
+> fillcolor=white margin=0 shape=none style=filled] edge [color="#000000:#00ffff:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w @@ -22,7 +232,84 @@ graph { edge [color="#000000:#8000ff:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p4l:w - W1 [label=<
W1
4x0.25 mm²0.2 m
 
X1:1TQX2:1
X1:2PKX2:2
X1:3YEX2:3
X1:4VTX2:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W1 [label=< + + + + +
+ + +
W1
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1TQX2:1
+ + + + +
+
X1:2PKX2:2
+ + + + +
+
X1:3YEX2:3
+ + + + +
+
X1:4VTX2:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#00ffff:#000000"] X3:p1r:e -- W2:w1:w W2:w1:e -- X2:p1l:w @@ -35,7 +322,84 @@ graph { edge [color="#000000:#8000ff:#000000"] X3:p4r:e -- W2:w4:w W2:w4:e -- X2:p4l:w - W2 [label=<
W2
4x0.25 mm²0.2 m
 
X3:1TQX2:1
X3:2PKX2:2
X3:3YEX2:3
X3:4VTX2:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W2 [label=< + + + + +
+ + +
W2
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X3:1TQX2:1
+ + + + +
+
X3:2PKX2:2
+ + + + +
+
X3:3YEX2:3
+ + + + +
+
X3:4VTX2:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#00ffff:#000000"] X3:p1r:e -- W3:w1:w W3:w1:e -- X4:p1l:w @@ -48,7 +412,84 @@ graph { edge [color="#000000:#8000ff:#000000"] X3:p4r:e -- W3:w4:w W3:w4:e -- X4:p4l:w - W3 [label=<
W3
4x0.25 mm²0.2 m
 
X3:1TQX4:1
X3:2PKX4:2
X3:3YEX4:3
X3:4VTX4:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W3 [label=< + + + + +
+ + +
W3
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X3:1TQX4:1
+ + + + +
+
X3:2PKX4:2
+ + + + +
+
X3:3YEX4:3
+ + + + +
+
X3:4VTX4:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#00ffff:#000000"] X5:p1r:e -- W4:w1:w W4:w1:e -- X4:p1l:w @@ -61,7 +502,84 @@ graph { edge [color="#000000:#8000ff:#000000"] X5:p4r:e -- W4:w4:w W4:w4:e -- X4:p4l:w - W4 [label=<
W4
4x0.25 mm²0.2 m
 
X5:1TQX4:1
X5:2PKX4:2
X5:3YEX4:3
X5:4VTX4:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W4 [label=< + + + + +
+ + +
W4
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X5:1TQX4:1
+ + + + +
+
X5:2PKX4:2
+ + + + +
+
X5:3YEX4:3
+ + + + +
+
X5:4VTX4:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] edge [color="#000000:#00ffff:#000000"] X5:p1r:e -- W5:w1:w W5:w1:e -- X6:p1l:w @@ -74,5 +592,82 @@ graph { edge [color="#000000:#8000ff:#000000"] X5:p4r:e -- W5:w4:w W5:w4:e -- X6:p4l:w - W5 [label=<
W5
4x0.25 mm²0.2 m
 
X5:1TQX6:1
X5:2PKX6:2
X5:3YEX6:3
X5:4VTX6:4
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W5 [label=< + + + + +
+ + +
W5
+
+ + + + +
4x0.25 mm²0.2 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X5:1TQX6:1
+ + + + +
+
X5:2PKX6:2
+ + + + +
+
X5:3YEX6:3
+ + + + +
+
X5:4VTX6:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] } diff --git a/tutorial/tutorial07.html b/tutorial/tutorial07.html index 61efdca..12d8741 100644 --- a/tutorial/tutorial07.html +++ b/tutorial/tutorial07.html @@ -1,438 +1,443 @@ -

Diagram

- + - - - + + + X1 - - -X1 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X1 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W1 - - -W1 - -4x - -0.25 mm² - -0.2 m -  -X1:1 -TQ -X2:1 - - - -X1:2 -PK -X2:2 - - - -X1:3 -YE -X2:3 - - - -X1:4 -VT -X2:4 - - - -  + + +W1 + +4x + +0.25 mm² + +0.2 m +  +X1:1 +TQ +X2:1 + + + +X1:2 +PK +X2:2 + + + +X1:3 +YE +X2:3 + + + +X1:4 +VT +X2:4 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA X3 - - -X3 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X3 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W2 - - -W2 - -4x - -0.25 mm² - -0.2 m -  -X3:1 -TQ -X2:1 - - - -X3:2 -PK -X2:2 - - - -X3:3 -YE -X2:3 - - - -X3:4 -VT -X2:4 - - - -  + + +W2 + +4x + +0.25 mm² + +0.2 m +  +X3:1 +TQ +X2:1 + + + +X3:2 +PK +X2:2 + + + +X3:3 +YE +X2:3 + + + +X3:4 +VT +X2:4 + + + +  X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + W3 - - -W3 - -4x - -0.25 mm² - -0.2 m -  -X3:1 -TQ -X4:1 - - - -X3:2 -PK -X4:2 - - - -X3:3 -YE -X4:3 - - - -X3:4 -VT -X4:4 - - - -  + + +W3 + +4x + +0.25 mm² + +0.2 m +  +X3:1 +TQ +X4:1 + + + +X3:2 +PK +X4:2 + + + +X3:3 +YE +X4:3 + + + +X3:4 +VT +X4:4 + + + +  X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X4 - - -X4 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA + + +X4 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA X5 - - -X5 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X5 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W4 - - -W4 - -4x - -0.25 mm² - -0.2 m -  -X5:1 -TQ -X4:1 + + +W4 + +4x + +0.25 mm² + +0.2 m +  +X5:1 +TQ +X4:1 + + - - -X5:2 -PK -X4:2 +X5:2 +PK +X4:2 + + - - -X5:3 -YE -X4:3 +X5:3 +YE +X4:3 + + - - -X5:4 -VT -X4:4 +X5:4 +VT +X4:4 + + - - -  +  X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + W5 - - -W5 - -4x - -0.25 mm² - -0.2 m -  + + +W5 + +4x + +0.25 mm² + +0.2 m +  X5:1 TQ X6:1 @@ -462,30 +467,30 @@ X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + @@ -519,114 +524,114 @@ W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + @@ -658,4 +663,4 @@ -

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins6X1, X2, X3, X4, X5, X6
Wire, 0.25 mm², PK1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², TQ1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², VT1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², YE1.0mW1, W2, W3, W4, W5
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignators
Connector, Molex KK 254, female, 4 pins6X1, X2, X3, X4, X5, X6
Wire, 0.25 mm², PK1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², TQ1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², VT1.0mW1, W2, W3, W4, W5
Wire, 0.25 mm², YE1.0mW1, W2, W3, W4, W5
\ No newline at end of file diff --git a/tutorial/tutorial07.png b/tutorial/tutorial07.png index ea6762b..5e359e1 100644 Binary files a/tutorial/tutorial07.png and b/tutorial/tutorial07.png differ diff --git a/tutorial/tutorial07.svg b/tutorial/tutorial07.svg index 1a7e01f..859423f 100644 --- a/tutorial/tutorial07.svg +++ b/tutorial/tutorial07.svg @@ -1,439 +1,439 @@ - - - - + + + X1 - - -X1 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X1 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W1 - - -W1 - -4x - -0.25 mm² - -0.2 m -  -X1:1 -TQ -X2:1 - - - -X1:2 -PK -X2:2 - - - -X1:3 -YE -X2:3 - - - -X1:4 -VT -X2:4 - - - -  + + +W1 + +4x + +0.25 mm² + +0.2 m +  +X1:1 +TQ +X2:1 + + + +X1:2 +PK +X2:2 + + + +X1:3 +YE +X2:3 + + + +X1:4 +VT +X2:4 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X2 - - -X2 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA + + +X2 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA X3 - - -X3 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X3 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W2 - - -W2 - -4x - -0.25 mm² - -0.2 m -  -X3:1 -TQ -X2:1 - - - -X3:2 -PK -X2:2 - - - -X3:3 -YE -X2:3 - - - -X3:4 -VT -X2:4 - - - -  + + +W2 + +4x + +0.25 mm² + +0.2 m +  +X3:1 +TQ +X2:1 + + + +X3:2 +PK +X2:2 + + + +X3:3 +YE +X2:3 + + + +X3:4 +VT +X2:4 + + + +  X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + X3:e--W2:w - - - + + + W3 - - -W3 - -4x - -0.25 mm² - -0.2 m -  -X3:1 -TQ -X4:1 - - - -X3:2 -PK -X4:2 - - - -X3:3 -YE -X4:3 - - - -X3:4 -VT -X4:4 - - - -  + + +W3 + +4x + +0.25 mm² + +0.2 m +  +X3:1 +TQ +X4:1 + + + +X3:2 +PK +X4:2 + + + +X3:3 +YE +X4:3 + + + +X3:4 +VT +X4:4 + + + +  X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X3:e--W3:w - - - + + + X4 - - -X4 - -Molex KK 254 - -female - -4-pin - -1 - -GND - -2 - -VCC - -3 - -SCL - -4 - -SDA + + +X4 + +Molex KK 254 + +female + +4-pin + +1 + +GND + +2 + +VCC + +3 + +SCL + +4 + +SDA X5 - - -X5 - -Molex KK 254 - -female - -4-pin - -GND - -1 - -VCC - -2 - -SCL - -3 - -SDA - -4 + + +X5 + +Molex KK 254 + +female + +4-pin + +GND + +1 + +VCC + +2 + +SCL + +3 + +SDA + +4 W4 - - -W4 - -4x - -0.25 mm² - -0.2 m -  -X5:1 -TQ -X4:1 + + +W4 + +4x + +0.25 mm² + +0.2 m +  +X5:1 +TQ +X4:1 + + - - -X5:2 -PK -X4:2 +X5:2 +PK +X4:2 + + - - -X5:3 -YE -X4:3 +X5:3 +YE +X4:3 + + - - -X5:4 -VT -X4:4 +X5:4 +VT +X4:4 + + - - -  +  X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + X5:e--W4:w - - - + + + W5 - - -W5 - -4x - -0.25 mm² - -0.2 m -  + + +W5 + +4x + +0.25 mm² + +0.2 m +  X5:1 TQ X6:1 @@ -463,30 +463,30 @@ X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + X5:e--W5:w - - - + + + @@ -520,114 +520,114 @@ W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W2:e--X2:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W3:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + W4:e--X4:w - - - + + + diff --git a/tutorial/tutorial08.bom.tsv b/tutorial/tutorial08.bom.tsv index 682dd4a..441f10b 100644 --- a/tutorial/tutorial08.bom.tsv +++ b/tutorial/tutorial08.bom.tsv @@ -1,7 +1,8 @@ -Item Qty Unit Designators Manufacturer Manufacturer part number Internal part number -Connector, Molex KK 254, female, 4 pins 2 X1, X3 Molex 22013047 -Connector, Molex KK 254, female, 4 pins 1 X2 Molex 22013047 CON4 -Cable, 4 x 0.25 mm² 1 m W1 CablesCo ABC123 CAB1 -Wire, 0.25 mm², BK 2 m W2 WiresCo W1-BK WIRE2 -Wire, 0.25 mm², RD 1 m W2 WiresCo W1-RD WIRE3 -Wire, 0.25 mm², YE 1 m W2 WiresCo W1-YE WIRE1 +Item Qty Unit Designators P/N Manufacturer MPN +Connector, Molex KK 254, female, 4 pins 2 X1, X3 Molex 22013047 +Connector, Molex KK 254, female, 4 pins 1 X2 CON4 Molex 22013047 +Cable, 4 x 0.25 mm² 1 m W1 CAB1 CablesCo ABC123 +Wire, 0.25 mm², BK 2 m W2 WIRE2 WiresCo W1-BK +Wire, 0.25 mm², RD 1 m W2 WIRE3 WiresCo W1-RD +Wire, 0.25 mm², YE 1 m W2 WIRE1 WiresCo W1-YE +Label, pinout information 2 X2, X3 Label-ID-1 generic company Label1 diff --git a/tutorial/tutorial08.gv b/tutorial/tutorial08.gv index f499345..1bf2194 100644 --- a/tutorial/tutorial08.gv +++ b/tutorial/tutorial08.gv @@ -1,12 +1,121 @@ graph { -// Graph generated by WireViz +// Graph generated by WireViz 0.2 // 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
MolexMPN: 22013047
Molex KK 254female4-pin
1
2
3
4
> fillcolor=white margin=0 shape=none style=filled] - X2 [label=<
X2
MolexMPN: 22013047IPN: CON4
Molex KK 254female4-pin
1
2
3
4
> fillcolor=white margin=0 shape=none style=filled] - X3 [label=<
X3
MolexMPN: 22013047
Molex KK 254female4-pin
1
2
3
4
> fillcolor=white margin=0 shape=none style=filled] + X1 [label=< + + + + + +
+ + +
X1
+
+ + +
Molex: 22013047
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + +
1
2
3
4
+
+> fillcolor=white margin=0 shape=none style=filled] + X2 [label=< + + + + + +
+ + +
X2
+
+ + + +
P/N: CON4Molex: 22013047
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + +
1
2
3
4
+
+> fillcolor=white margin=0 shape=none style=filled] + X3 [label=< + + + + + +
+ + +
X3
+
+ + +
Molex: 22013047
+
+ + + + +
Molex KK 254female4-pin
+
+ + + + + + + + + + + + + +
1
2
3
4
+
+> 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 @@ -19,7 +128,90 @@ graph { edge [color="#000000:#ffff00:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p4l:w - W1 [label=<
W1
CablesCoMPN: ABC123IPN: CAB1
4x0.25 mm²1 m
 
X1:1BNX2:1
X1:2RDX2:2
X1:3OGX2:3
X1:4YEX2:4
 
> fillcolor=white margin=0 shape=box style=""] + W1 [label=< + + + + + +
+ + +
W1
+
+ + + +
P/N: CAB1CablesCo: ABC123
+
+ + + + +
4x0.25 mm²1 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1BNX2:1
+ + + + +
+
X1:2RDX2:2
+ + + + +
+
X1:3OGX2:3
+ + + + +
+
X1:4YEX2:4
+ + + + +
+
 
+
+> fillcolor=white margin=0 shape=box style=""] edge [color="#000000:#ffff00:#000000"] X1:p1r:e -- W2:w1:w W2:w1:e -- X3:p1l:w @@ -32,5 +224,106 @@ graph { edge [color="#000000:#ff0000:#000000"] X1:p4r:e -- W2:w4:w W2:w4:e -- X3:p4l:w - W2 [label=<
W2
4x0.25 mm²1 m
 
X1:1YEX3:1
WiresCoMPN: W1-YEIPN: WIRE1
X1:2BKX3:2
WiresCoMPN: W1-BKIPN: WIRE2
X1:3BKX3:3
WiresCoMPN: W1-BKIPN: WIRE2
X1:4RDX3:4
WiresCoMPN: W1-RDIPN: WIRE3
 
> fillcolor=white margin=0 shape=box style="filled,dashed"] + W2 [label=< + + + + +
+ + +
W2
+
+ + + + +
4x0.25 mm²1 m
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
X1:1YEX3:1
+ + + + +
+
+ + + +
P/N: WIRE1WiresCo: W1-YE
+
X1:2BKX3:2
+ + + + +
+
+ + + +
P/N: WIRE2WiresCo: W1-BK
+
X1:3BKX3:3
+ + + + +
+
+ + + +
P/N: WIRE2WiresCo: W1-BK
+
X1:4RDX3:4
+ + + + +
+
+ + + +
P/N: WIRE3WiresCo: W1-RD
+
 
+
+> fillcolor=white margin=0 shape=box style="filled,dashed"] } diff --git a/tutorial/tutorial08.html b/tutorial/tutorial08.html index bd5e824..75a5219 100644 --- a/tutorial/tutorial08.html +++ b/tutorial/tutorial08.html @@ -1,297 +1,290 @@ -

Diagram

- + - - - + + + X1 - - -X1 - -Molex - -MPN: 22013047 - -Molex KK 254 - -female - -4-pin - -1 - -2 - -3 - -4 + + +X1 + +Molex: 22013047 + +Molex KK 254 + +female + +4-pin + +1 + +2 + +3 + +4 W1 - - -W1 - - -CablesCo - -MPN: ABC123 -IPN: CAB1 - -4x - -0.25 mm² - -1 m -  -X1:1 -BN -X2:1 - - - -X1:2 -RD -X2:2 - - - -X1:3 -OG -X2:3 - - - -X1:4 -YE -X2:4 - - - -  + + +W1 + +P/N: CAB1 + +CablesCo: ABC123 + +4x + +0.25 mm² + +1 m +  +X1:1 +BN +X2:1 + + + +X1:2 +RD +X2:2 + + + +X1:3 +OG +X2:3 + + + +X1:4 +YE +X2:4 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + W2 - - -W2 - -4x - -0.25 mm² - -1 m -  -X1:1 -YE -X3:1 - - - -WiresCo -MPN: W1-YE -IPN: WIRE1 -X1:2 -BK -X3:2 - - - -WiresCo -MPN: W1-BK -IPN: WIRE2 -X1:3 -BK -X3:3 - - - -WiresCo -MPN: W1-BK -IPN: WIRE2 -X1:4 -RD -X3:4 - - - -WiresCo -MPN: W1-RD -IPN: WIRE3 -  + + +W2 + +4x + +0.25 mm² + +1 m +  +X1:1 +YE +X3:1 + + + +P/N: WIRE1 +WiresCo: W1-YE +X1:2 +BK +X3:2 + + + +P/N: WIRE2 +WiresCo: W1-BK +X1:3 +BK +X3:3 + + + +P/N: WIRE2 +WiresCo: W1-BK +X1:4 +RD +X3:4 + + + +P/N: WIRE3 +WiresCo: W1-RD +  X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X2 - - -X2 - -Molex - -MPN: 22013047 - -IPN: CON4 - -Molex KK 254 - -female - -4-pin - -1 - -2 - -3 - -4 + + +X2 + +P/N: CON4 + +Molex: 22013047 + +Molex KK 254 + +female + +4-pin + +1 + +2 + +3 + +4 X3 - - -X3 - -Molex - -MPN: 22013047 - -Molex KK 254 - -female - -4-pin - -1 - -2 - -3 - -4 + + +X3 + +Molex: 22013047 + +Molex KK 254 + +female + +4-pin + +1 + +2 + +3 + +4 W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + -

Bill of Materials

ItemQtyUnitDesignatorsManufacturerManufacturer part numberInternal part number
Connector, Molex KK 254, female, 4 pins2X1, X3Molex22013047
Connector, Molex KK 254, female, 4 pins1X2Molex22013047CON4
Cable, 4 x 0.25 mm²1mW1CablesCoABC123CAB1
Wire, 0.25 mm², BK2mW2WiresCoW1-BKWIRE2
Wire, 0.25 mm², RD1mW2WiresCoW1-RDWIRE3
Wire, 0.25 mm², YE1mW2WiresCoW1-YEWIRE1
\ No newline at end of file +

Bill of Materials

ItemQtyUnitDesignatorsP/NManufacturerMPN
Connector, Molex KK 254, female, 4 pins2X1, X3Molex22013047
Connector, Molex KK 254, female, 4 pins1X2CON4Molex22013047
Cable, 4 x 0.25 mm²1mW1CAB1CablesCoABC123
Wire, 0.25 mm², BK2mW2WIRE2WiresCoW1-BK
Wire, 0.25 mm², RD1mW2WIRE3WiresCoW1-RD
Wire, 0.25 mm², YE1mW2WIRE1WiresCoW1-YE
Label, pinout information2X2, X3Label-ID-1generic companyLabel1
\ No newline at end of file diff --git a/tutorial/tutorial08.png b/tutorial/tutorial08.png index 59e4ce8..e75d27a 100644 Binary files a/tutorial/tutorial08.png and b/tutorial/tutorial08.png differ diff --git a/tutorial/tutorial08.svg b/tutorial/tutorial08.svg index baa73a8..9b4546a 100644 --- a/tutorial/tutorial08.svg +++ b/tutorial/tutorial08.svg @@ -1,297 +1,285 @@ - - - - + + + X1 - - -X1 - -Molex - -MPN: 22013047 - -Molex KK 254 - -female - -4-pin - -1 - -2 - -3 - -4 + + +X1 + +Molex: 22013047 + +Molex KK 254 + +female + +4-pin + +1 + +2 + +3 + +4 W1 - - -W1 - - -CablesCo - -MPN: ABC123 -IPN: CAB1 - -4x - -0.25 mm² - -1 m -  -X1:1 -BN -X2:1 - - - -X1:2 -RD -X2:2 - - - -X1:3 -OG -X2:3 - - - -X1:4 -YE -X2:4 - - - -  + + +W1 + +P/N: CAB1 + +CablesCo: ABC123 + +4x + +0.25 mm² + +1 m +  +X1:1 +BN +X2:1 + + + +X1:2 +RD +X2:2 + + + +X1:3 +OG +X2:3 + + + +X1:4 +YE +X2:4 + + + +  X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + X1:e--W1:w - - - + + + W2 - - -W2 - -4x - -0.25 mm² - -1 m -  -X1:1 -YE -X3:1 - - - -WiresCo -MPN: W1-YE -IPN: WIRE1 -X1:2 -BK -X3:2 - - - -WiresCo -MPN: W1-BK -IPN: WIRE2 -X1:3 -BK -X3:3 - - - -WiresCo -MPN: W1-BK -IPN: WIRE2 -X1:4 -RD -X3:4 - - - -WiresCo -MPN: W1-RD -IPN: WIRE3 -  + + +W2 + +4x + +0.25 mm² + +1 m +  +X1:1 +YE +X3:1 + + + +P/N: WIRE1 +WiresCo: W1-YE +X1:2 +BK +X3:2 + + + +P/N: WIRE2 +WiresCo: W1-BK +X1:3 +BK +X3:3 + + + +P/N: WIRE2 +WiresCo: W1-BK +X1:4 +RD +X3:4 + + + +P/N: WIRE3 +WiresCo: W1-RD +  X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X1:e--W2:w - - - + + + X2 - - -X2 - -Molex - -MPN: 22013047 - -IPN: CON4 - -Molex KK 254 - -female - -4-pin - -1 - -2 - -3 - -4 + + +X2 + +P/N: CON4 + +Molex: 22013047 + +Molex KK 254 + +female + +4-pin + +1 + +2 + +3 + +4 X3 - - -X3 - -Molex - -MPN: 22013047 - -Molex KK 254 - -female - -4-pin - -1 - -2 - -3 - -4 + + +X3 + +Molex: 22013047 + +Molex KK 254 + +female + +4-pin + +1 + +2 + +3 + +4 W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W1:e--X2:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + + W2:e--X3:w - - - + + +