Integrates front-end API methods for adding and deleting edges. A few identified bugs:
When you delete an edge (by selecting it and hitting the delete key), the edge stays there until you click somewhere else on the workspace. I can't figure out how to access the engine to repaint the canvas from the link model. This also happens when clearing the workspace.
Because the API call happens from a listener within the react-diagrams classes, it is also triggered when loading a workflow from file. The server handles it fine (with a message that edge already exists), but ideally we want a way to only fire the callback when an edge is created with the mouse. I think @cesaragv is looking into how to do this (probably in the DefaultPortWidget component?).
This feels a little too buggy to merge, but I wanted to make the commits accessible.
Integrates front-end API methods for adding and deleting edges. A few identified bugs:
DefaultPortWidget
component?).This feels a little too buggy to merge, but I wanted to make the commits accessible.