-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Curvifying edges #8
Conversation
@maximecb I saw this on the to-do list and was excited to give it a try -- Here's my take on it. A usual case: (also note how unconnected edges look) I think it handles decently at edge (hehe) cases, though it may not match your vision: I'm still figuring out what to do with nodes that are aligned like this: Thoughts? |
Groovy! I checked out the branch to try it and this looks really good. Works very well! Two requests:
|
Sweet!
I think I would too. It's feeling redundant at hindsight, I'll port it over.
Funny enough this is how it was working before, I "patched" it in 3871c95 :) For me I saw a potential UX improvement -- Before 3871c95, when you connect an edge from the src to the dst, there's no visual feedback for the successful connection. You have to move your mouse away to "confirm" the edge was connected as you intended. After 3871c95, all unconnected edges became gray, and all connected edges had a color; The change in color became visual feedback for the successful edge connection. But I'm also with you, I liked the edge immediately having a color (behavior before 3871c95). Would you consider another kind of visual feedback independent of edge color? (We could make a new issue & pr for it and brainstorm in there) |
That's fair. It is nice to have visual feedback for edge connections. We could leave it as is with the edges slightly grey before they are connected. I will merge this PR once In terms of next things to work on, I'm starting to look at audio generation. I will try to make a push for that during the following days. Once the general setup is more in place, it will become clearer how the general design fits together and it will be easier for you to contribute to that. Otherwise, some things you could work on next (as you prefer):
Let me know what your preference would be and I'll open an issue so we can have a more detailed discussion :) |
I appreciate the kind words a lot, thank you For this PR: Sounds great. I'll get the cubic line code moved over here shortly, keep the current coloring as/is, and we'll revisit the feedback story. For next steps: Excellent, I'm excited to see everything coming together! I'm having a great time working on pretty much anything -- Take your time with audio generation, make something you're happy with, and let me know if I can help at all on that specific front. Happy to be a rubber duck, etc. Otherwise I'm happy to work on these in any order. A somewhat arbitrary order of preference based on context-switching:
|
Pleasure working with you as well. I'm always afraid people will get annoyed because I give a lot of feedback. Trying to balance my tendency for perfectionism with not getting into people's way too much. I will open an issue for copying and pasting so we can discuss the approach and requirements :) Node parameters, it would probably make sense for me to just bring over the code I have from Zupiter and we can try to improve it later. No need to start from zero. Could do the same for the help page. Just take the Zupiter help page and put it into a standalone HTML document 🤔 |
Prototype / demo PR that turns straight line edges into cubic bezier lines.
Branched off #6, includes changes from there too.