From 6610f515de0659a5a836805c5c0a8eebe459817e Mon Sep 17 00:00:00 2001 From: Tobias Falk Date: Sun, 16 Jun 2024 22:17:54 +0200 Subject: [PATCH] Implemened Proposal #352 --- examples/demo01.gv | 22 +- examples/demo01.html | 284 ++++----- examples/demo01.png | Bin 55442 -> 42023 bytes examples/demo01.svg | 282 ++++----- examples/demo02.gv | 76 ++- examples/demo02.html | 874 +++++++++++++++------------- examples/demo02.png | Bin 211055 -> 174564 bytes examples/demo02.svg | 872 +++++++++++++++------------- examples/ex01.gv | 27 +- examples/ex01.html | 288 ++++----- examples/ex01.png | Bin 47747 -> 40669 bytes examples/ex01.svg | 286 ++++----- examples/ex02.gv | 36 +- examples/ex02.html | 428 +++++++------- examples/ex02.png | Bin 79025 -> 69637 bytes examples/ex02.svg | 426 +++++++------- examples/ex03.gv | 36 +- examples/ex03.html | 380 ++++++------ examples/ex03.png | Bin 81821 -> 65388 bytes examples/ex03.svg | 378 ++++++------ examples/ex04.gv | 32 +- examples/ex04.html | 362 ++++++------ examples/ex04.png | Bin 70498 -> 55124 bytes examples/ex04.svg | 360 ++++++------ examples/ex05.gv | 45 +- examples/ex05.html | 512 ++++++++-------- examples/ex05.png | Bin 45588 -> 39970 bytes examples/ex05.svg | 510 ++++++++-------- examples/ex06.gv | 108 ++-- examples/ex06.html | 1156 +++++++++++++++++++----------------- examples/ex06.png | Bin 339650 -> 293003 bytes examples/ex06.svg | 1154 +++++++++++++++++++----------------- examples/ex07.gv | 14 +- examples/ex07.html | 160 ++--- examples/ex07.png | Bin 27417 -> 23052 bytes examples/ex07.svg | 158 ++--- examples/ex08.gv | 25 +- examples/ex08.html | 184 +++--- examples/ex08.png | Bin 57183 -> 46216 bytes examples/ex08.svg | 182 +++--- examples/ex09.gv | 91 +-- examples/ex09.html | 916 +++++++++++++++-------------- examples/ex09.png | Bin 278540 -> 209771 bytes examples/ex09.svg | 914 +++++++++++++++-------------- examples/ex10.gv | 60 +- examples/ex10.html | 556 +++++++++--------- examples/ex10.png | Bin 132350 -> 111667 bytes examples/ex10.svg | 554 +++++++++--------- examples/ex11.gv | 23 +- examples/ex11.html | 260 +++++---- examples/ex11.png | Bin 42656 -> 31415 bytes examples/ex11.svg | 258 +++++---- examples/ex12.gv | 44 +- examples/ex12.html | 328 ++++++----- examples/ex12.png | Bin 27248 -> 24120 bytes examples/ex12.svg | 326 ++++++----- examples/ex13.gv | 65 +-- examples/ex13.html | 624 +++++++++++--------- examples/ex13.png | Bin 110694 -> 106780 bytes examples/ex13.svg | 622 +++++++++++--------- examples/ex14.gv | 91 ++- examples/ex14.html | 1192 ++++++++++++++++++++------------------ examples/ex14.png | Bin 207337 -> 167844 bytes examples/ex14.svg | 1190 +++++++++++++++++++------------------ examples/ex15.gv | 23 +- examples/ex15.html | 60 +- examples/ex15.png | Bin 59251 -> 59228 bytes examples/ex15.svg | 60 +- examples/ex16.gv | 23 +- examples/ex16.html | 60 +- examples/ex16.png | Bin 101922 -> 101929 bytes examples/ex16.svg | 60 +- src/wireviz/Harness.py | 17 +- tutorial/tutorial01.gv | 24 +- tutorial/tutorial01.html | 212 +++---- tutorial/tutorial01.png | Bin 16560 -> 12755 bytes tutorial/tutorial01.svg | 210 +++---- tutorial/tutorial02.gv | 24 +- tutorial/tutorial02.html | 232 ++++---- tutorial/tutorial02.png | Bin 35159 -> 28600 bytes tutorial/tutorial02.svg | 230 ++++---- tutorial/tutorial03.gv | 27 +- tutorial/tutorial03.html | 284 ++++----- tutorial/tutorial03.png | Bin 46257 -> 35145 bytes tutorial/tutorial03.svg | 282 ++++----- tutorial/tutorial04.gv | 45 +- tutorial/tutorial04.html | 524 +++++++++-------- tutorial/tutorial04.png | Bin 61750 -> 45233 bytes tutorial/tutorial04.svg | 522 +++++++++-------- tutorial/tutorial05.gv | 23 +- tutorial/tutorial05.html | 308 +++++----- tutorial/tutorial05.png | Bin 51869 -> 43777 bytes tutorial/tutorial05.svg | 306 +++++----- tutorial/tutorial06.gv | 23 +- tutorial/tutorial06.html | 284 ++++----- tutorial/tutorial06.png | Bin 44574 -> 37041 bytes tutorial/tutorial06.svg | 282 ++++----- tutorial/tutorial07.gv | 108 ++-- tutorial/tutorial07.html | 1156 +++++++++++++++++++----------------- tutorial/tutorial07.png | Bin 339906 -> 292822 bytes tutorial/tutorial07.svg | 1154 +++++++++++++++++++----------------- tutorial/tutorial08.gv | 45 +- tutorial/tutorial08.html | 548 +++++++++--------- tutorial/tutorial08.png | Bin 232339 -> 149856 bytes tutorial/tutorial08.svg | 546 +++++++++-------- 105 files changed, 13475 insertions(+), 11998 deletions(-) diff --git a/examples/demo01.gv b/examples/demo01.gv index 8b327c4d..2fb294dd 100644 --- a/examples/demo01.gv +++ b/examples/demo01.gv @@ -1,9 +1,10 @@ graph { -// Graph generated by WireViz 0.4 +// Graph generated by WireViz 0.5-dev // https://github.com/formatc1702/WireViz graph [bgcolor="#FFFFFF" fontname=arial nodesep=0.33 rankdir=LR ranksep=2] node [fillcolor="#FFFFFF" fontname=arial height=0 margin=0 shape=none style=filled width=0] edge [fontname=arial style=bold] + edge [headclip=true style=bold tailclip=true] X1 [label=<
@@ -60,6 +61,7 @@ graph {
> fillcolor="#FFFFFF" shape=box style=filled] + edge [headclip=true style=bold tailclip=true] X2 [label=< diff --git a/examples/demo01.html b/examples/demo01.html index 2786c1c7..50fd8333 100644 --- a/examples/demo01.html +++ b/examples/demo01.html @@ -1,7 +1,7 @@ - + demo01
@@ -95,14 +97,18 @@ graph { edge [color="#000000:#ffffff:#000000"] X1:p5r:e -- W1:w1:w W1:w1:e -- X2:p1l:w + W1:w1:w -- W1:w1:e [straight=straight] edge [color="#000000:#895956:#000000"] X1:p2r:e -- W1:w2:w W1:w2:e -- X2:p3l:w + W1:w2:w -- W1:w2:e [straight=straight] edge [color="#000000:#00ff00:#000000"] X1:p3r:e -- W1:w3:w W1:w3:e -- X2:p2l:w + W1:w3:w -- W1:w3:e [straight=straight] edge [color="#000000"] X1:p5r:e -- W1:ws:w + W1:ws:w -- W1:ws:e [straight=straight] W1 [label=< @@ -147,9 +151,7 @@ graph { @@ -163,9 +165,7 @@ graph { @@ -175,7 +175,7 @@ graph { - +
@@ -131,9 +137,7 @@ graph {
- - - +
- - - +
- - - +
Shield