Clarification

topo-mov
LEdoian 1 year ago
parent bb9c4118d3
commit 09e654a016

@ -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():

Loading…
Cancel
Save