makaip / mathematix

A nodeblock-based math webapp.
https://makaip.github.io/mathematix/
GNU General Public License v3.0
4 stars 0 forks source link

Shift-click to connect two node blocks #4

Open makaip opened 8 months ago

makaip commented 8 months ago

To make connecting blocks easier and quicker, users should be able to hold down shift and click two node blocks to connect them together. Possibly, we could add a new variable to store the object previously selected. Then, if the shift key is held during both the present and previous object clicks, connect the first available nodule on the present and previous node objects.

AlexanderJCS commented 7 months ago

How do you propose this to be done? If the node has multiple inputs, how do you know which one to connect to?