retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

node fixed height with overflow data the connection path not moving #623

Closed imshubhamkumar closed 1 year ago

imshubhamkumar commented 1 year ago

Whenever we have too many input/output in a node then i made fixed height but the connection path still goes to same old position not moving along with the port. image

Ni55aN commented 1 year ago

Socket positions are calculated relative to the top left of the node. That's why the scrolling cannot affect this in any way.

Also, if the socket isn't inside of scroll viewport, what should the connection be connected to?

Ni55aN commented 1 year ago

By the way, what problem should scrolling solve? There will large number of inputs, which negatively impacts UX. You may consider aggregating the inputs with primitive types into a compose type

rete-js[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.