ericabouaf / wireit

A javascript wiring library to create web wirable interfaces for dataflow applications, visual programming languages or graphical modeling.
http://neyric.github.io/wireit/docs/
Other
520 stars 90 forks source link

WiringEditor auto-resize on drag #25

Closed ericabouaf closed 12 years ago

ericabouaf commented 14 years ago

If you drop a module into the diagram editing area in the WiringEditor and then drag it to the right or bottom, the editing area will automatically resize and scroll bars will appear. However, if you instead drag the module to the left or the top you can get to where the module is no longer visible but the editing area does not resize. This can easily lead to a situation where you can have modules off screen to the left or top and have no way to scroll to make them visible.

Is there a way to make it so that the editing area will resize when dragging to the left or top? Alternately, is there a way to prevent the module from being dragged past the left and top boundaries of the editing area?

MySchizoBuddy commented 13 years ago

the current version doesn't allow dragging past the top and left. btw is wiringeditor a separate project and not part of wireit?