AlgebraicJulia / Semagrams.jl

A graphical editor for graph-like structures
https://algebraicjulia.github.io/Semagrams.jl/
MIT License
91 stars 10 forks source link

Regression when dragging edges #107

Closed olynch closed 1 year ago

olynch commented 1 year ago

When I drag an edge in simple petri and don't drop it on a species/transition, I get an error, instead of just canceling the action. @sjbreiner I think this is your fault, because I'm assuming in dwd you do something other than canceling the action; you add it to the outer box.

sjbreiner commented 1 year ago

Strange. I'm not seeing any errors in simplepetri when I drop an edge on the background. It just disappears. Is your error something that could be caused by calling set(e,tgt,ROOT)?

Anyway, there should be a check on the schema here. You could add that in Actions to see if it fixes your problem. You might try clearing your out folder?