ERnsTL / flowd

An inter-language runtime for flow-based programming (FBP)
Other
25 stars 2 forks source link

noflo-ui: Adding and removing an edge calls removeedge, then changeedge #219

Open ERnsTL opened 2 years ago

ERnsTL commented 2 years ago

To reproduce:

 INFO  flowd_rs > response: sending network:edges response
 INFO  flowd_rs > --- end of message handling iteration
 INFO  flowd_rs > waiting for next message
 INFO  flowd_rs > got a text|binary message
 INFO  flowd_rs > got graph:removeedge message
 INFO  flowd_rs > remove_edge: GraphNodeSpec { node: "Repeat_7x9cc", port: "OUT", index: None } == GraphNodeSpec { node: "Repeat_7x9cc", port: "OUT", index: None } && GraphNodeSpec { node: "Drop_dn79b", port: "IN", index: None } == GraphNodeSpec { node: "Drop_dn79b", port: "IN", index: None } ?
 INFO  flowd_rs > yes
 INFO  flowd_rs > edge count now: 0
 INFO  flowd_rs > response: sending graph:removeedge response
 INFO  flowd_rs > --- end of message handling iteration
 INFO  flowd_rs > waiting for next message
 INFO  flowd_rs > got a text|binary message
 INFO  flowd_rs > got graph:changeedge message
 ERROR flowd_rs > graph.change_edge() failed: edge with that src+tgt not found
 INFO  flowd_rs > response: sending graph:error response
 INFO  flowd_rs > --- end of message handling iteration
 INFO  flowd_rs > waiting for next message