Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the node editor be split out into its own package? #117

Closed
masonwheeler opened this issue Jul 7, 2021 · 1 comment
Closed

Can the node editor be split out into its own package? #117

masonwheeler opened this issue Jul 7, 2021 · 1 comment

Comments

@masonwheeler
Copy link

Right now, this project is the top Google result for "Blazor node editor." And it appears to be pretty much the only Blazor node editor available... and its design is constrained to the highly specific domain of regex editing.

Would it be possible to separate out the node editor into its own package, and then have the regex editor be one thing implemented on top of that, so that people who want node editors for other purposes will be able to use it without it dragging a bunch of irrelevant regex-editing cruft into their projects?

@Jcparkyn
Copy link
Owner

Definitely possible, but it would be quite a lot of work due to the fact that it wasn't a priority throughout most of the development (although I agree it should have been). I tried doing this a couple of months ago, but the further I got, the more it started to look like Z.Blazor.Diagrams with some custom components and CSS for the nodes themselves. Part of the problem is that there are a lot of different ways to make node editors, so any functionality provided by the library would need to be highly customizable.

My suggestion for now would be to use Z.Blazor.Diagrams (or something similar) in your project, and adapt the relevant view components that you want from Nodexr (assuming you want a similar style) so that they're compatible with that.

That being said, you're welcome to have a go at refactoring the node editor in Nodexr into a separate package if that's something you're interested in. I can share the work I did on it previously, but there would still be a large amount of work needed in order to do it properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants