Made line from dashed to solid bold
This commit is contained in:
parent
a015da52b8
commit
8c97c5df22
12
examples/ex15.html
generated
12
examples/ex15.html
generated
@ -100,17 +100,17 @@
|
||||
<!-- X1--X1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>X1:c--X1:c</title>
|
||||
<path fill="none" stroke="#ff66cc" stroke-dasharray="5,2" d="M83.72,-156C83.72,-156 83.72,-60 83.72,-60"/>
|
||||
<path fill="none" stroke="#ff66cc" stroke-width="2" d="M83.72,-156C83.72,-156 83.72,-60 83.72,-60"/>
|
||||
</g>
|
||||
<!-- X1--X1 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>X1:c--X1:c</title>
|
||||
<path fill="none" stroke="#ff66cc" stroke-dasharray="5,2" d="M83.72,-60C83.72,-60 83.72,-12 83.72,-12"/>
|
||||
<path fill="none" stroke="#ff66cc" stroke-width="2" d="M83.72,-60C83.72,-60 83.72,-12 83.72,-12"/>
|
||||
</g>
|
||||
<!-- X1--X1 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>X1:c--X1:c</title>
|
||||
<path fill="none" stroke="#ff0000" stroke-dasharray="5,2" d="M127.53,-132C127.53,-132 127.53,-36 127.53,-36"/>
|
||||
<path fill="none" stroke="#ff0000" stroke-width="2" d="M127.53,-132C127.53,-132 127.53,-36 127.53,-36"/>
|
||||
</g>
|
||||
<!-- W1 -->
|
||||
<g id="node2" class="node">
|
||||
@ -283,17 +283,17 @@
|
||||
<!-- X2--X2 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>X2:c--X2:c</title>
|
||||
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M876.53,-159C876.53,-159 876.53,-63 876.53,-63"/>
|
||||
<path fill="none" stroke="#000000" stroke-width="2" d="M876.53,-159C876.53,-159 876.53,-63 876.53,-63"/>
|
||||
</g>
|
||||
<!-- X2--X2 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>X2:c--X2:c</title>
|
||||
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M876.53,-63C876.53,-63 876.53,-15 876.53,-15"/>
|
||||
<path fill="none" stroke="#000000" stroke-width="2" d="M876.53,-63C876.53,-63 876.53,-15 876.53,-15"/>
|
||||
</g>
|
||||
<!-- X2--X2 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>X2:c--X2:c</title>
|
||||
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M920.34,-135C920.34,-135 920.34,-39 920.34,-39"/>
|
||||
<path fill="none" stroke="#000000" stroke-width="2" d="M920.34,-135C920.34,-135 920.34,-39 920.34,-39"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
BIN
examples/ex15.png
generated
BIN
examples/ex15.png
generated
Binary file not shown.
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 48 KiB |
12
examples/ex15.svg
generated
12
examples/ex15.svg
generated
@ -71,17 +71,17 @@
|
||||
<!-- X1--X1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>X1:c--X1:c</title>
|
||||
<path fill="none" stroke="#ff66cc" stroke-dasharray="5,2" d="M83.72,-156C83.72,-156 83.72,-60 83.72,-60"/>
|
||||
<path fill="none" stroke="#ff66cc" stroke-width="2" d="M83.72,-156C83.72,-156 83.72,-60 83.72,-60"/>
|
||||
</g>
|
||||
<!-- X1--X1 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>X1:c--X1:c</title>
|
||||
<path fill="none" stroke="#ff66cc" stroke-dasharray="5,2" d="M83.72,-60C83.72,-60 83.72,-12 83.72,-12"/>
|
||||
<path fill="none" stroke="#ff66cc" stroke-width="2" d="M83.72,-60C83.72,-60 83.72,-12 83.72,-12"/>
|
||||
</g>
|
||||
<!-- X1--X1 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>X1:c--X1:c</title>
|
||||
<path fill="none" stroke="#ff0000" stroke-dasharray="5,2" d="M127.53,-132C127.53,-132 127.53,-36 127.53,-36"/>
|
||||
<path fill="none" stroke="#ff0000" stroke-width="2" d="M127.53,-132C127.53,-132 127.53,-36 127.53,-36"/>
|
||||
</g>
|
||||
<!-- W1 -->
|
||||
<g id="node2" class="node">
|
||||
@ -254,17 +254,17 @@
|
||||
<!-- X2--X2 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>X2:c--X2:c</title>
|
||||
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M876.53,-159C876.53,-159 876.53,-63 876.53,-63"/>
|
||||
<path fill="none" stroke="#000000" stroke-width="2" d="M876.53,-159C876.53,-159 876.53,-63 876.53,-63"/>
|
||||
</g>
|
||||
<!-- X2--X2 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>X2:c--X2:c</title>
|
||||
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M876.53,-63C876.53,-63 876.53,-15 876.53,-15"/>
|
||||
<path fill="none" stroke="#000000" stroke-width="2" d="M876.53,-63C876.53,-63 876.53,-15 876.53,-15"/>
|
||||
</g>
|
||||
<!-- X2--X2 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>X2:c--X2:c</title>
|
||||
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M920.34,-135C920.34,-135 920.34,-39 920.34,-39"/>
|
||||
<path fill="none" stroke="#000000" stroke-width="2" d="M920.34,-135C920.34,-135 920.34,-39 920.34,-39"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
@ -272,7 +272,7 @@ class Harness:
|
||||
for short, short_color in zip_longest(connector.internal_shorts, connector.internal_shorts_color):
|
||||
if short_color == None:
|
||||
short_color = "BK"
|
||||
dot.attr("edge", color=str(wv_colors.translate_color(short_color, "HEX")), headclip="false", tailclip="false", style="dashed")
|
||||
dot.attr("edge", color=str(wv_colors.translate_color(short_color, "HEX")), headclip="false", tailclip="false", style="solid,bold")
|
||||
for i in range(1, len(short)):
|
||||
dot.edge(
|
||||
f"{connector.name}:p{short[i - 1]}j:c",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user