setzer22 / egui_node_graph

Build your node graph applications in Rust, using egui
MIT License
711 stars 132 forks source link

custom separators #89

Closed kamirr closed 1 year ago

kamirr commented 1 year ago

Complex UIs for inputs/outputs/bottom tend to blend together so it's userfult to be able to define a separator between those child-UIs easily.

I was wondering whether to only pass &mut egui::Ui for simplicity, but in the end I think it's better to provide a more capable API consistent with other methods considering that there's basically no cost to that, even if I don't see a specific use-case right now.

Also, fixed a missing doc comment.