From 25fce7a95ae19bdc866cb178616599c6b39d0f5e Mon Sep 17 00:00:00 2001 From: Julian Daube Date: Mon, 1 Jul 2019 13:07:38 +0200 Subject: [PATCH] structure: remove tree links --- gds/elements.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gds/elements.py b/gds/elements.py index 9665b7a..ab65758 100644 --- a/gds/elements.py +++ b/gds/elements.py @@ -64,13 +64,12 @@ class Box(Element, Drawable): points = [] class SRef(Element): - Position = None - Structure = "" + position = (0,0) + structure = "" transformation = Transformation() # tree - Parent = None - Children = [] + parent = None