setzer22 / egui_node_graph

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

Change UserState to outside of GraphEditorState #58

Closed kkngsm closed 1 year ago

kkngsm commented 2 years ago

Changes

  1. 57

  2. add persistence feature flag
setzer22 commented 1 year ago

If you want to include the change discussed in #57 about passing &mut UserState please go ahead :+1:

kkngsm commented 1 year ago

I changed the UserState args to mutable and made NodeGraphExample::new() simpler using syntax sugar.

setzer22 commented 1 year ago

Looks ready to merge! Thanks again for the PR :smile: