From d8e50d68ca0e8c3364aed559463e00ae70893313 Mon Sep 17 00:00:00 2001 From: Razin Shaikh Date: Thu, 13 Jun 2024 00:13:25 +0100 Subject: [PATCH] Breaking change: use the new format of graph diff from pyzx, a breaking change introduced by the multigraph pr --- zxlive/graphscene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zxlive/graphscene.py b/zxlive/graphscene.py index e14b8250..d9512b83 100644 --- a/zxlive/graphscene.py +++ b/zxlive/graphscene.py @@ -136,7 +136,7 @@ def update_graph(self, new: GraphT, select_new: bool = False) -> None: if select_new: selected_vertices.add(v) - for e in diff.new_edges: + for e, e_type in diff.new_edges: s, t = self.g.edge_st(e) e_item = EItem(self, e, self.vertex_map[s], self.vertex_map[t]) self.edge_map[e] = e_item