miroiu / nodify

Highly performant and modular controls for node-based editors designed for data-binding and MVVM.
https://miroiu.github.io/nodify
MIT License
1.3k stars 208 forks source link

Adding a simple API to Nodify #36

Open miroiu opened 2 years ago

miroiu commented 2 years ago

📝 Description of the Change

This PR aims to reduce the boilerplate and simplify the way node editors are built. There will be a new library called Nodifier which comes with view model abstractions for the existing controls and binds those to the views using Stylet.

There will also be an example built on top of Nodifier and possibly a reusable toolkit.

🐛 Possible Drawbacks

Dependency on Stylet for the new library. The new library may be too restrictive (not being able to customize Nodify the same way you would by using it directly). The codebase is getting larger.

Notes

A separate NuGet package will be generated for Nodifier. I may consider moving the new library into its own repo.

Please let me know if you have any ideas for a better library name.

Things to consider:

ankitsatapara07 commented 1 year ago

Hi @miroiu Is there a plan to merge this PR? Actually I am looking for this to start my journey in node based application. You are doing a awesome job, I really really appreciate it. :)

miroiu commented 1 year ago

Hi @ankitsatapara07 , I'm not actively working on this anymore, although, I may reconsider it in the future. I know it would be really useful to have something like this implemented, and I want it to be generic enough to cover a wide range of use cases. That turns out to be difficult, and there's also a tradeoff on the ease of use. I guess you can use it as an inspiration for now.