Skip to content

Commit

Permalink
Breaking change: use the new format of graph diff from pyzx, a breaki…
Browse files Browse the repository at this point in the history
…ng change introduced by the multigraph pr
  • Loading branch information
RazinShaikh committed Jun 12, 2024
1 parent 9376929 commit d8e50d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zxlive/graphscene.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8e50d6

Please sign in to comment.