• Stars
    star
    662
  • Rank 68,103 (Top 2 %)
  • Language
    C++
  • License
    MIT License
  • Created over 5 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Node graph implementation for Dear ImGui. Used in https://github.com/rokups/rbfx

ImNodes

A standalone Dear ImGui node graph implementation.

image

Library provides core features needed to create a node graph, while leaving it to the user to define content of node. Node layouting is left to the user, however comprehensible example is available which can be used as a base.

A (very) trivial example

static ImNodes::CanvasState canvas;

if (ImGui::Begin("ImNodes", nullptr, ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoScrollWithMouse))
{
    ImNodes::BeginCanvas(&canvas);

    struct Node
    {
        ImVec2 pos{};
        bool selected{};
        ImNodes::Ez::SlotInfo inputs[1];
        ImNodes::Ez::SlotInfo outputs[1];
    };

    static Node nodes[3] = {
        {{50, 100}, false, {{"In", 1}}, {{"Out", 1}}},
        {{250, 50}, false, {{"In", 1}}, {{"Out", 1}}},
        {{250, 100}, false, {{"In", 1}}, {{"Out", 1}}},
    };

    for (Node& node : nodes)
    {
        if (ImNodes::Ez::BeginNode(&node, "Node Title", &node.pos, &node.selected))
        {
            ImNodes::Ez::InputSlots(node.inputs, 1);
            ImNodes::Ez::OutputSlots(node.outputs, 1);
            ImNodes::Ez::EndNode();
        }
    }

    ImNodes::Connection(&nodes[1], "In", &nodes[0], "Out");
    ImNodes::Connection(&nodes[2], "In", &nodes[0], "Out");

    ImNodes::EndCanvas();
}
ImGui::End();

image

More Repositories

1

hello-vue-django

vuejs and Django integration with hot code reload. Dont use this, use https://github.com/NdagiStanley/vue-django or https://github.com/gtalarico/django-vue-template
Python
331
star
2

virtual-reality

Stealthy backdoor for Windows operating systems
C
271
star
3

ReflectiveLdr

Position-idependent Windows DLL loader based on ReflectiveDLL project.
C++
90
star
4

hooker

Minimalistic hooking library written in C
C++
54
star
5

zinc

Block level data synchronization library
C++
48
star
6

Urho3D-nuklear-ui

Sample nuklear ui integration for Urho3D
C++
19
star
7

nim-ustring

utf-8 string for Nim
C
15
star
8

natvis4gdb

Natvis implementation for GDB debugger
Python
15
star
9

ShaderSketch

A tool for toying with shaders
C++
10
star
10

paste2box

Internet-enabled clipboard / file sharing client.
Python
9
star
11

run_pe

Single header RunPE implementation in c
C
8
star
12

rokups.github.io

HTML
7
star
13

Launchpad

File-less post-exploitation agent and remote administration tool.
C
6
star
14

AtomicImGUI

imgui integration with AtomicGameEngine
C++
6
star
15

AtomicIMUIs

C
5
star
16

Urho3D-Toolbox

Up to date version of this code is at https://github.com/rokups/Urho3D
C++
5
star
17

snek

Memory loader of python runtime.
C
4
star
18

UrhoUIEditor

Maintenance moved to https://github.com/rokups/Urho3D/tree/master/Source/Tools/Editor
C
4
star
19

Urho3DNet

Experimental bindings generator. Dead. SWIG-based solution merged to https://github.com/rokups/Urho3D
C++
4
star
20

AtomicNuklearUI

nuklear ui integration for AtomicGameEngine
C++
3
star
21

rbfx-tasks

Subsystem and sample demonstrating building logic using coroutines (fibers).
C++
2
star
22

imgui_test_engine

Dear ImGui Tests & Automation
C++
2
star
23

AtomicAsLibraryExample

C++
2
star
24

rbfx-sample

C++
2
star
25

UnlockWatch

Reboots android device after trhee failed unlock attempts. Root required.
Java
1
star
26

Urho3D-Base

Project skeleton for Urho3D.
C++
1
star
27

rbfx-testing

C++
1
star
28

CSGBoolOpsTest

C++
1
star
29

nim-coro

Coroutines for Nim language.
Assembly
1
star
30

python-ping

Python
1
star
31

nim-bencode

BEncoding encoding/decoding lib for Nim language
Nim
1
star