Replies: 1 comment
-
Not with the current design, unfortunately. The initial goal of this library was to provide a simple, and somewhat opinionated way to create node editors. Over time I've started including individual proposals that enhance customizability, but reaching a fully customizable node style might require a bit of a redesign and rewriting some parts of the code. Egui makes this a bit hard because there's no separation between interaction, layout and drawing. So making the library more generic in style, means we're pushing the burden of layout and interaction to the end user. A possible solution for this is to provide a set of good defaults that can be overridden. I'd be open to considering a design along those lines 🙂 But if you have a specific idea in mind you want to pursue, a perfectly valid choice is to fork the library and adjust the node style to exactly what you need! Making a generic solution is much more difficult than making a specific-purpose one. I'd be happy to answer any questions you have in that regard. |
Beta Was this translation helpful? Give feedback.
-
Is it feasible to support fully customizable node style? Not just color, but shape, layout, edge connection points. For example: rendering laTeX math equations in the middle of a node which is shaped as arbitrary polygon with edge connection points at specific places in the math equation.
Beta Was this translation helpful? Give feedback.
All reactions