{"repo":"Nelarius/imnodes","free":true,"listed":false,"github":"https://github.com/Nelarius/imnodes","clone":"git clone https://github.com/Nelarius/imnodes.git","description":"A small, dependency-free node editor for dear imgui","language":"C++","stars":2479,"topics":["imgui","ui","gamedev","cpp","tool","node-editor"],"license":"MIT","category":"game-templates","readme_excerpt":"imnodes A small, dependency-free node editor extension for dear imgui . Imnodes aims to provide a simple, immediate-mode interface for creating a node editor within an ImGui window. Imnodes provides simple, customizable building blocks that a user needs to build their node editor. Features: Create nodes, links, and pins in an immediate-mode style. The user controls all the state. Nest ImGui widgets inside nodes Simple distribution, just copy-paste imnodes.h , imnodes internal.h , and imnodes.cpp into your project along side ImGui. Examples This repository includes a few example files, under example/ . They are intended as simple examples giving you an idea of what you can build with imnodes. If you need to build the examples, you can use the provided CMake script to do so. Note that this has not been tested on Linux and is likely to fail on the platform. A brief tour Here is a small overview of how the extension is used. For more information on example usage, scroll to the bottom of the README. Before anything can be done, the library must be initialized. This can be done at the same time as dear imgui initialization. The node editor is a workspace which contains nodes. The node editor must be instantiated within a window, like any other UI element. Now you should have a workspace with a grid visible in the window. An empty node can now be instantiated: Nodes, like windows in dear imgui must be uniquely identified. But we can't use the node titles for identification, because ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Nelarius","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Nelarius/imnodes/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}