Nelarius / imnodes

A small, dependency-free node editor for dear imgui
MIT License
2.01k stars 244 forks source link

Adds node editor MiniMap feature #99

Closed briancairl closed 3 years ago

briancairl commented 3 years ago

Adds mini map feature to be used between BeginNodeEditor and EndNodeEditor with following features:

https://user-images.githubusercontent.com/1093236/114410231-0f40c200-9b60-11eb-9057-44e1ac9bbb66.mp4

briancairl commented 3 years ago

@Nelarius I've made the changes as per your suggestions, along with one additional major change https://github.com/Nelarius/imnodes/pull/99/commits/f2ddfa9d4b1b8670e127240ae7df5741f0777e74 to fix poor interact behavior when both the mini-map and a node/link/pin were under the mouse cursor.