zxcalc / zxlive

A graphical tool for the ZX calculus
Apache License 2.0
45 stars 15 forks source link

Magic wand is broken for multigraph #264

Open RazinShaikh opened 1 week ago

jvdwetering commented 1 week ago

Is the problem here that the code for magic wand checks intersection with linear edges and not curved ones?

RazinShaikh commented 1 week ago

No, it's because the edge is now 3-tuple corresponding to (source, target, type) but old code still tries to call multigraph methods with edge of type (source, target).