Adding a simple API to Nodify#36
Draft
miroiu wants to merge 35 commits into
Draft
Conversation
This was
linked to
issues
Jul 15, 2022
8ab3e90 to
4e7d407
Compare
1e7bdfc to
8e37ac5
Compare
|
Hi @miroiu |
Owner
Author
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 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: