Immediate-Mode-UI / Nuklear

A single-header ANSI C immediate mode cross-platform GUI library
https://immediate-mode-ui.github.io/Nuklear/doc/index.html
8.89k stars 533 forks source link

Node editor demo expanded #561

Open hwps opened 1 year ago

hwps commented 1 year ago

This PR expands on the node editor demo to make it a functional example of a node-based UI.

Features:

node_editor

Some notes:

leobenaducci commented 1 year ago

Nice stuff

RobLoach commented 10 months ago

I like where this is going. I'm not sure what's wrong with the demo though? This is the sdl_renderer.... Screenshot at 2023-09-12 03-25-01

hwps commented 10 months ago

@RobLoach Can you click the connectors to draw a link or right click to add nodes?

Maybe there should be some more nodes or at least links in the initial state. I realize now that for someone not used to a node-based UI it might be non-obvious what to do.

hwps commented 7 months ago

Ok, finally did this slight update to the init state. Screenshot attached.

Screenshot 2023-12-11 at 19 44 53

riri commented 7 months ago

Nice work! I ran it on glfw_opengl3 and x11_xft demos (screenshot for the later below)

x11_xft