setzer22 / egui_node_graph

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

give example the ability to zoom in/out and scroll side to side #104

Open walksanatora opened 11 months ago

walksanatora commented 11 months ago

idk how to do this so i think it should be documented how to do it

voidentente commented 9 months ago

As for panning, see the member pan_zoom of GraphEditorState. Unlike the name suggests, though, zoom does not seem to be supported natively: https://github.com/setzer22/egui_node_graph/issues/53