From bf4c157eb050f4e09762325242f25041fcfe81f8 Mon Sep 17 00:00:00 2001 From: Hg Date: Wed, 7 Oct 2020 23:03:31 +0200 Subject: [PATCH] add some missing attachments on lower-right --- svg-to-dia.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/svg-to-dia.py b/svg-to-dia.py index 64d9738..9b3297e 100755 --- a/svg-to-dia.py +++ b/svg-to-dia.py @@ -58,6 +58,9 @@ def build_shape(svg_path): (0, width), (height // 2, 0), (height, 0), + (width // 2, height), + (width, height // 2), + (width, height), ] for x, y in points: ET.SubElement(xconns, 'point', attrib={'x': str(x), 'y': str(y)})