Add wire color to example1

This commit is contained in:
Daniel Rojas 2020-05-20 20:50:43 +02:00
parent c9402cb226
commit f59b13301f
3 changed files with 14 additions and 10 deletions

View File

@ -8,9 +8,11 @@ digraph G {
W1[label="W1 | 3x 0,25 mm² shielded | 0.2 m | {{<w1i>1|<w2i>2|<w3i>3|<wsi>}|{WT|BN|GN|Shield}|{<w1o>1|<w2o>2|<w3o>3|<wsi>}}}"]; W1[label="W1 | 3x 0,25 mm² shielded | 0.2 m | {{<w1i>1|<w2i>2|<w3i>3|<wsi>}|{WT|BN|GN|Shield}|{<w1o>1|<w2o>2|<w3o>3|<wsi>}}}"];
X1:p5 -> W1:w1i; W1:w1o -> X2:p1; {edge[style=bold]
X1:p2 -> W1:w2i; W1:w2o -> X2:p3; {edge[color="#000000:#ffffff:#000000"] X1:p5 -> W1:w1i; W1:w1o -> X2:p1; }
X1:p3 -> W1:w3i; W1:w3o -> X2:p2; {edge[color="#000000:#666600:#000000"] X1:p2 -> W1:w2i; W1:w2o -> X2:p3; }
X1:p5 -> W1:wsi; {edge[color="#000000:#00ff00:#000000"] X1:p3 -> W1:w3i; W1:w3o -> X2:p2; }
X2:p5:w -> X2:p6:w X1:p5 -> W1:wsi;
X2:p5:w -> X2:p6:w;
}
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -72,11 +72,13 @@ GraphViz code generated by parser:
W1[label="W1 | 3x 0,25 mm² shielded | 0.2 m | {{<w1i>1|<w2i>2|<w3i>3|<wsi>}|{WT|BN|GN|Shield}|{<w1o>1|<w2o>2|<w3o>3|<wsi>}}}"]; W1[label="W1 | 3x 0,25 mm² shielded | 0.2 m | {{<w1i>1|<w2i>2|<w3i>3|<wsi>}|{WT|BN|GN|Shield}|{<w1o>1|<w2o>2|<w3o>3|<wsi>}}}"];
X1:p5 -> W1:w1i; W1:w1o -> X2:p1; {edge[style=bold]
X1:p2 -> W1:w2i; W1:w2o -> X2:p3; {edge[color="#000000:#ffffff:#000000"] X1:p5 -> W1:w1i; W1:w1o -> X2:p1; }
X1:p3 -> W1:w3i; W1:w3o -> X2:p2; {edge[color="#000000:#666600:#000000"] X1:p2 -> W1:w2i; W1:w2o -> X2:p3; }
X1:p5 -> W1:wsi; {edge[color="#000000:#00ff00:#000000"] X1:p3 -> W1:w3i; W1:w3o -> X2:p2; }
X2:p5:w -> X2:p6:w X1:p5 -> W1:wsi;
X2:p5:w -> X2:p6:w;
}
} }
## Status ## Status