Resizing for the nodes. #41
Replies: 1 comment 1 reply
-
Thanks @vzarytovskii, that means the world to me! I've never noticed it was possible to do it in most node editors (I just checked with blender and UE5). Sounds like a cool feature. I'm happy to let you collaborate to this project and to give you the possibility to practice your skills. If you plan on future contributions I can add you as a collaborator. You seem to be on the right track with all the points you've made. A recommendation, mind the input handling, the edge might overlap with the ports and the program should distinguish what to do. If you need help don't be afraid of asking here or even on the Discord server here (not that the server was born for fl_nodes but the two projects are strictly related), also the FlutterDev community is eager to help newcomers. On an unrelated note:
|
Beta Was this translation helpful? Give feedback.
-
Hey @WilliamKarolDiCioccio, first of all, thanks for the library, I am very new to both flutter and dart, and found it not only useful to me in my small pet project, but also a great source for the learning of Flutter libraries.
I would like to contribute to it and add a resizing support for the nodes, if it's something what is desired.
I, however, am quite new to GUI/client side programming in general and flutter in particular (I'm more of a compilers person), in case if it's something you would accept as a feature, here would be my approach to pursuing it:
_NodeWidgetState
, such as_handleResizeStart
,_handleResizeUpdate
and_handleResizeEnd
to handle/set the states of the widget.Again, if it's something you see fitting in the
fl_nodes
, I would be happy to bite a bullet and try implementing it, and will be grateful to any pointers or things I've missed.Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions