mitchmindtree / egui_graph

A graph editor widget for the egui library.
MIT License
12 stars 5 forks source link

Improve node selection handling in demo #16

Closed JoshuaBatty closed 2 months ago

JoshuaBatty commented 2 months ago

Sync demo's selection HashSet<NodeIndex> with egui_graph crate's selection logic. The selection logic in the demo now doesn't need reimplementing and can just be derived.

JoshuaBatty commented 2 months ago

Nice, just updated it to expose as is_node_selected method.