diff --git a/examples/demo01.bom.tsv b/examples/demo01.bom.tsv
new file mode 100644
index 00000000..43f2d71b
--- /dev/null
+++ b/examples/demo01.bom.tsv
@@ -0,0 +1,4 @@
+Item Qty Unit Designators
+D-Sub, female, 9 pins 1 X1
+Molex KK 254, female, 3 pins 1 X2
+Cable 3 x 0.25 mm² shielded 0.2 m W1
diff --git a/examples/demo01.html b/examples/demo01.html
new file mode 100644
index 00000000..f490520e
--- /dev/null
+++ b/examples/demo01.html
@@ -0,0 +1,171 @@
+
Diagram
+
+
+
+
+Bill of Materials
Item | Qty | Unit | Designators |
---|
D-Sub, female, 9 pins | 1 | | X1 |
Molex KK 254, female, 3 pins | 1 | | X2 |
Cable 3 x 0.25 mm² shielded | 0.2 | m | W1 |
\ No newline at end of file
diff --git a/examples/demo02.bom.tsv b/examples/demo02.bom.tsv
new file mode 100644
index 00000000..5fe7ab18
--- /dev/null
+++ b/examples/demo02.bom.tsv
@@ -0,0 +1,13 @@
+Item Qty Unit Designators
+Crimp ferrule, 0.25 mm² 2
+Molex KK 254, female, 4 pins 2 X2, X3
+Molex KK 254, female, 5 pins 1 X4
+Molex KK 254, female, 8 pins 1 X1
+Cable 2 x 0.25 mm² 0.3 m W4
+Wire 0.14 mm² BK 0.9 m W1, W2, W3
+Wire 0.14 mm² BU 0.3 m W3
+Wire 0.14 mm² GN 0.6 m W1, W2
+Wire 0.14 mm² OG 0.3 m W3
+Wire 0.14 mm² RD 0.6 m W1, W2
+Wire 0.14 mm² VT 0.3 m W3
+Wire 0.14 mm² YE 0.6 m W1, W2
diff --git a/examples/demo02.gv b/examples/demo02.gv
index ee077808..fa19809d 100644
--- a/examples/demo02.gv
+++ b/examples/demo02.gv
@@ -8,7 +8,26 @@ graph {
X2 [label="X2|{Molex KK 254|female|4-pin}|{{1|2|3|4}|{GND|+5V|SCL|SDA}}"]
X3 [label="X3|{Molex KK 254|female|4-pin}|{{1|2|3|4}|{GND|+5V|SCL|SDA}}"]
X4 [label="X4|{Molex KK 254|female|5-pin}|{{1|2|3|4|5}|{GND|+12V|MISO|MOSI|SCK}}"]
- X5 [label="X5|{Molex Micro-Fit|male|2-pin}|{{GND|+12V}|{1|2}}"]
+ F1 [label=<
+
+
+ Crimp ferrule, 0.25 mm² |
+
+ |
+
+
+
+ > margin=0 orientation=180 shape=none style=filled]
+ F2 [label=<
+
+
+ Crimp ferrule, 0.25 mm² |
+
+ |
+
+
+
+ > margin=0 orientation=180 shape=none style=filled]
edge [color="#000000:#000000:#000000"]
X1:p1r:e -- W1:w1:w
W1:w1:e -- X2:p1l:w
@@ -21,7 +40,7 @@ graph {
edge [color="#000000:#00ff00:#000000"]
X1:p4r:e -- W1:w4:w
W1:w4:e -- X2:p4l:w
- W1 [label=< |
|
X1:1 | BK | X2:1 | | X1:2 | RD | X2:2 | | X1:3 | YE | X2:3 | | X1:4 | GN | X2:4 | | |
|
> fillcolor=white margin=0 shape=box style="filled,dashed"]
+ W1 [label=<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 | | |
|
> 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
@@ -34,7 +53,7 @@ graph {
edge [color="#000000:#00ff00:#000000"]
X1:p4r:e -- W2:w4:w
W2:w4:e -- X3:p4l:w
- W2 [label=< |
|
X1:1 | BK | X3:1 | | X1:2 | RD | X3:2 | | X1:3 | YE | X3:3 | | X1:4 | GN | X3:4 | | |
|
> fillcolor=white margin=0 shape=box style="filled,dashed"]
+ W2 [label=<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 | | |
|
> 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
@@ -47,12 +66,14 @@ graph {
edge [color="#000000:#8000ff:#000000"]
X1:p7r:e -- W3:w4:w
W3:w4:e -- X4:p5l:w
- W3 [label=< |
|
X1:1 | BK | X4:1 | | X1:5 | BU | X4:3 | | X1:6 | OG | X4:4 | | X1:7 | VT | X4:5 | | |
|
> fillcolor=white margin=0 shape=box style="filled,dashed"]
+ W3 [label=<W3 | 4x | 0.14 mm² (26 AWG) | 0.3 m |
|
|
X1:1 | BK | X4:1 | | X1:5 | BU | X4:3 | | X1:6 | OG | X4:4 | | X1:7 | VT | X4:5 | | |
|
> fillcolor=white margin=0 shape=box style="filled,dashed"]
+ edge [color="#000000:#000000:#000000"]
+ F1:e -- W4:w1:w
+ edge [color="#000000:#ff0000:#000000"]
+ F2:e -- W4:w2:w
edge [color="#000000:#000000:#000000"]
- X5:p1r:e -- W4:w1:w
W4:w1:e -- X4:p1l:w
edge [color="#000000:#ff0000:#000000"]
- X5:p2r:e -- W4:w2:w
W4:w2:e -- X4:p2l:w
- W4 [label=<> fillcolor=white margin=0 shape=box style="filled,dashed"]
+ W4 [label=<W4 | 2x | 0.25 mm² (24 AWG) | 0.3 m |
|
|
|
> fillcolor=white margin=0 shape=box style=""]
}
diff --git a/examples/demo02.html b/examples/demo02.html
new file mode 100644
index 00000000..25797b0d
--- /dev/null
+++ b/examples/demo02.html
@@ -0,0 +1,499 @@
+Diagram
+
+
+
+
+Bill of Materials
Item | Qty | Unit | Designators |
---|
Crimp ferrule, 0.25 mm² | 2 | | |
Molex KK 254, female, 4 pins | 2 | | X2, X3 |
Molex KK 254, female, 5 pins | 1 | | X4 |
Molex KK 254, female, 8 pins | 1 | | X1 |
Cable 2 x 0.25 mm² | 0.3 | m | W4 |
Wire 0.14 mm² BK | 0.9 | m | W1, W2, W3 |
Wire 0.14 mm² BU | 0.3 | m | W3 |
Wire 0.14 mm² GN | 0.6 | m | W1, W2 |
Wire 0.14 mm² OG | 0.3 | m | W3 |
Wire 0.14 mm² RD | 0.6 | m | W1, W2 |
Wire 0.14 mm² VT | 0.3 | m | W3 |
Wire 0.14 mm² YE | 0.6 | m | W1, W2 |
\ No newline at end of file
diff --git a/examples/demo02.png b/examples/demo02.png
index b2880cfc..3517f29b 100644
Binary files a/examples/demo02.png and b/examples/demo02.png differ
diff --git a/examples/demo02.svg b/examples/demo02.svg
index 9a0e7a6d..60a0a9e1 100644
--- a/examples/demo02.svg
+++ b/examples/demo02.svg
@@ -4,493 +4,495 @@
-