mirror of
https://github.com/eliasstepanik/egui_node_graph.git
synced 2026-01-09 21:08:28 +00:00
2.4 KiB
2.4 KiB
CHANGELOG
0.4.0
Changed
- Make the node finder search bar case insensitive. By @matthijsjanssens
- Add a
UserStateparameter tobuild_node. By @setzer22 - Updated to egui 0.19. By @MathiasPius
- Separate
UserStatefromGraphStateto allow more flexible borrowing patterns. By @kkngsm - Expose
UserStateand thenode_idtovalue_widgetfor more flexible widgets. By @setzer22
Added
- Connections snap to available ports. By @kkngsm
- Add box selection and multi-node movement. By @setzer22
- Nodes can decide whether to show the delete button. By @huisedenanhai
Bugfixes
- Disconnect responses are now return before node removal responses. By @bpostlethwaite
0.3.0
Changed
- Update to egui 0.18. By @Veykril and @gmorenz
- Make editor work inside egui windows or panels. By @Imberflur
- Remove macros from the example in favor of simpler lambdas. By @philpax
- Connections are now drawn with the same color as the datatype. By @kkngsm
- The name method in
DataTypenow returns aCow<str>instead of&str. By @setzer22 - The
DeleteNoderesponse is now split intoDeleteNodeUiandDeleteNodeFull, the latter including all the data for the deleted node. By @setzer22
Added
- CI setup. By @fenollp
- Draw connections using bézier curves. By @gmorenz
- Add UserResponse to WidgetValueTrait, allowing widgets to execute side effects. By @IsseW
- Send disconnect events on node delete. By @setzer22
- Light mode support. By @kkngsm
- Allow configurable node titlebar colors. By @kkngsm
- Add more information to the various Response types (
DisconnectEvent,ConnectEventEnded). By @setzer22
Bugfixes
- Fix panning when clicking outside the editor area. By @fkaa
- Fix node finder sometimes drawing before other elements. By @fkaa
- Fix visual glitch where the X and the node title would sometimes slightly overlap. By @setzer22
0.2.0
Changed
- Under the
persistencefeatureserde::Serialize/Deserializeis now derived forGraphEditorStateand all its relevant types. By @setzer22 NodeTemplateIternow requires the list of templates returned by user code to be owned. This circumvents several issues that came with having a trait return an iterator of references. By @setzer22- Generic parameters in
NodeDataTraitare now associated types instead. This makes implementing the types possible in more situationns. By @setzer22
Added
- New
CreatedNoderesponse. By @jorgeja