Nelarius / imnodes

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

compute graph example #70

Open sonoro1234 opened 3 years ago

sonoro1234 commented 3 years ago

Hi,

I would like to share a compute graph made with imnodes in LuaJIT-ImGui All above line https://github.com/sonoro1234/LuaJIT-ImGui/blob/master/examples/imnodes_graph_sample.lua#L435 are the classes needed for the example, below this line there is the user code defining the nodes which can be changed at will.

With the nodes defined in this case this is the result: lisaGIF

benmkw commented 3 years ago

Maybe I can add to that: I mostly finished rust bindings https://github.com/benmkw/imnodes-rs such that the examples from this repo work now. Thanks to both of you for imnodes and the c bindings 👍

Nelarius commented 3 years ago

@sonoro1234 @benmkw Great contributions, thanks for sharing! 👍