-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey! Thanks for reaching out 😄
Yup, I'm afraid that's the case 😅. This library started out as an implementation to support my other project and is heavily inspired by Blender's node editor. People (myself included) have been adding customization options as needs arise, but the whole design is heavily oriented towards having inputs on the left and outputs on the right (with inputs and outputs being different things). Changing that would take a considerable rework of the internals. That said, there's still lots of code in this library that you can reuse, or take inspiration from (and please do! That's why it's open source 😄). If you want to take a look at the code, most of the magic happens inside The thing you probably won't be able to reuse is the data model for the Also, when looking at the code, keep in mind that the only reason for the generics is to make things customisable. My approach was to develop this graph library alongside Blackjack for a few months before splitting it off into a separate crate. It's way faster to iterate on something when your project is not split across separate crates, trying to make things too decoupled via generics is definitely a price to pay! Anyway. I'm sorry I can't be of more help, but I don't think what you need can be achieved simply by a layer of customisation on top of this library 😅. At least, not currently. I'm still open to accepting any PRs that might make things more customisable though 😄 Best of luck! And don't hesitate to ask any questions about the library or the code |
Beta Was this translation helpful? Give feedback.
Hey! Thanks for reaching out 😄
Yup, I'm afraid that's the case 😅. This library started out as an implementation to support my other project and is heavily inspired by Blender's node editor. People (myself included) have been adding customization options as needs arise, but the whole design is heavily oriented towards having inputs on the left and outputs on the right (with inputs and outputs being different things). Changing that would take a considerable rework of the internals.
That said, there's still lots of code in this library that you can reuse, or take i…