diff --git a/examples/ex15.gv b/examples/ex15.gv index 402948e..09e6848 100644 --- a/examples/ex15.gv +++ b/examples/ex15.gv @@ -5,10 +5,10 @@ graph { node [fillcolor="#FFFFFF" fontname=arial height=0 margin=0 shape=none style=filled width=0] edge [fontname=arial style=bold] edge [color="#FF66CC" headclip=false style="solid,bold" tailclip=false] - X1:p1j:c -- X1:p5j:c [addPTS=.18 colorPTS="#FF66CC" straight=straight] - X1:p5j:c -- X1:p7j:c [addPTS=.18 colorPTS="#FF66CC" straight=straight] + X1:p1j:c -- X1:p5j:c [addPTS=.18 straight=straight] + X1:p5j:c -- X1:p7j:c [addPTS=.18 straight=straight] edge [color="#FF0000" headclip=false style="solid,bold" tailclip=false] - X1:p2j:c -- X1:p6j:c [addPTS=.18 colorPTS="#FF0000" straight=straight] + X1:p2j:c -- X1:p6j:c [addPTS=.18 straight=straight] edge [headclip=true style=bold tailclip=true] X1 [label=<
| {html_image(blackCircle).replace(" | ')
-
+ if pinindex+1 in shortPins:
pinhtml.append(f' ') # pinhtml.append(f' | ⬤ | ') @@ -333,8 +316,8 @@ class Harness: f"{connector.name}:p{shortPins[i - 1]}j:c", f"{connector.name}:p{shortPins[i]}j:c", straight="straight", - addPTS=".18", - colorPTS=str(wv_colors.translate_color(shColor, "HEX")), + addPTS=".18", # Size of the point at the end of the straight line/edge, it also enables the drawing of it + colorPTS=str(wv_colors.translate_color(shColor, "HEX")), # the color of the point at the end of the line, it is requered that the circle is drawin ) dot.attr("edge", headclip="true", tailclip="true", style="bold") diff --git a/src/wireviz/images/circle_5mm.svg b/src/wireviz/images/circle_5mm.svg deleted file mode 100644 index 84abaa5..0000000 --- a/src/wireviz/images/circle_5mm.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - diff --git a/src/wireviz/images/circle_5mm_96dpi.png b/src/wireviz/images/circle_5mm_96dpi.png deleted file mode 100644 index cf8305e..0000000 Binary files a/src/wireviz/images/circle_5mm_96dpi.png and /dev/null differ diff --git a/src/wireviz/pin2pin.gvpr b/src/wireviz/pin2pin.gvpr index f42d511..4c4e287 100644 --- a/src/wireviz/pin2pin.gvpr +++ b/src/wireviz/pin2pin.gvpr @@ -35,7 +35,7 @@ E[straight] { $.label=""; // remove pesky label $.lp=""; // remove peskier label pos - if (hasAttr($, "addPTS") && $.addPTS!=""){ + if (hasAttr($, "addPTS") && $.addPTS!="" && $.colorPTS!=""){ // now we place point nodes at the edge ends pt[1] = tok[0]; pt[2] = tok[cnt-1];