From 09e654a0164b1f5a265ba42c8ff699ab89d8c2c1 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Wed, 19 Jul 2023 21:15:06 +0200 Subject: [PATCH] Clarification --- poor_mans_visualisation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/poor_mans_visualisation.py b/poor_mans_visualisation.py index 88cf736..bd7110c 100755 --- a/poor_mans_visualisation.py +++ b/poor_mans_visualisation.py @@ -236,6 +236,9 @@ class MainWindow(QtWidgets.QMainWindow): megastyler = self.styling_annotators[-1] assert megastyler.annotator == MegaStyler msann = self.annot_topo.annotations[megastyler] + # These two dictionaries are used from outside, so that QGraphicsItems + # can resolve graph relations (e.g. to draw the line between the + # correct Vertices) self.graphicsitems: dict[VertexID, QGraphicsItem] = dict() self.topologyitems: dict[QGraphicsItem, VertexID|Edge] = dict() for vtxid, style in msann.for_vertex.items():