mitchmindtree / egui_graph

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

Add node position interpolation animation param #11

Closed mitchmindtree closed 10 months ago

mitchmindtree commented 10 months ago

Allows for smoother positioning of nodes, useful when auto-layout is set.

Currently interpolates the x and y axes separately as egui only allows animating bools or f32s.

TODO: Turn off the interpolation when the node is being dragged.


Also makes the graph background colour solid, otherwise demo window is semitransparent on wayland.