-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update link connections by dragging between ports (#1569)
Currently, one must explicitly delete an existing link before adding a new link for a given node. This change enables dragging to update a link connection, and automatically deletes the existing link on the input pin if one exists. Note: An output pin on a node may have many outgoing links, but an input pin may only have one incoming link. This behaviour is unchanged. Also: - Renames a few variables for consistency on start/end and input/output pins - Ensures you can't add a link from an input to an input, or from an output to an output - Can also drag from an output to an input and have it correctly delete existing link
- Loading branch information
1 parent
54adaee
commit eb52ec2
Showing
2 changed files
with
171 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.