McManning / BlueGraph

Visual Scripting Framework for Unity
MIT License
237 stars 30 forks source link

Add edge reroute nodes #26

Open McManning opened 3 years ago

McManning commented 3 years ago

Add your typical edge reroute dots like UE4 and similar graph editors.

Should be able to right click an edge and click an "Add Reroute" button in the context menu to create a reroute node (a hotkey would also be nice to add one under the mouse cursor if we're hovering an edge). They should look like dots matching the color of the edge and can be dragged around and deleted like any other node.

These reroutes would be editor-only and have no effect on the runtime connection info on a Graph. They can be stored in a separate list on the Graph to be persisted, but used only via the editor (like comments, basically).