| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
QtNodes is conceived as a general-purpose Qt-based library aimed at developing Node Editors for various applications. The library could be used for simple graph visualization and editing or extended further for using the Dataflow paradigm .
The library is written using the Model-View approach. The whole graph structure is defined by a class derived from AbstractGraphModel. It is possible to create or add Nodes and Connections. The underlying data structures could be of any arbitrary type or representation.
An instance of AbstractGraphModel could or could not be attached to specialized QGraphicsScene and QGraphicsView objects. I.e. the so-called "headless" modus operandi is possible.
There are branches v2 and v3 for versions 2.x.x and 3.x respectively. The branch master contains the latest dev state.
The extended model class DataFlowGraphModel allows to register "processing algorithms" represented by nodes and is equipped with a set of Qt's signals and slots for propagating the data though the nodes.
The node's algorithm is triggered upon arriving of any new input data. The computed result is propagated to the output connections. Each new connection fetches available data and propagates is further. Each change in the source node is immediately propagated through all the connections updating the whole graph.
Set this option to false if you want to build with Qt5 version instead of Qt6:
USE_QT6 mkdir build && cd build && cmake .. -DUSE_QT6=on or mkdir build && cd build && cmake .. -DUSE_QT6=off
For building a static lib use:
cmake .. -DBUILD_SHARED_LIBS=off
git clone git@github.com:paceholder/nodeeditor.git cd nodeeditor mkdir build cd build cmake .. make -j && make install
Note
The project includes unit tests built with Catch2. If you don't have Catch2 installed, you can disable testing by setting -DBUILD_TESTING=OFF in CMake configuration.
-DCMAKE_TOOLCHAIN_FILE=<vcpkg_dir>/scripts/buildsystems/scripts/buildsystems/vcpkg.cmake
QtNodes includes a comprehensive unit test suite built with Catch2.
Running Tests
From the build directory:
# Build tests make test_nodes # Run all tests ./bin/test_nodes # Run specific categories ./bin/test_nodes "[core]" # Core functionality tests ./bin/test_nodes "[graphics]" # Graphics system tests
Test Coverage
For detailed testing documentation, see the Testing Guide.
Any suggestions are welcome!
Dmitry Pinaev et al, Qt Nodes, (2013-2025), GitHub repository, https://github.com/paceholder/nodeeditor
BibTeX:
@misc{Pinaev2025,
author = {Dmitry Pinaev et al},
title = {QtNodes. Node Editor},
year = {2025},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/paceholder/nodeeditor}},
commit = {877ddb8c447a7a061a5022e9956a3194132e3dd9}
}
If you like the project you could donate me on PayPal
If you send more than $100, I'll forward $100 to some fund supporting sick children and report to you back.
The version 3 was released with a generous help of Davide Faconti
CANdevStudio is a cost-effective, cross-platform replacement for CAN simulation software. CANdevStudio enables to simulate CAN signals such as ignition status, doors status or reverse gear by every automotive developer. Thanks to modularity it is easy to implement new, custom features.
Chigraph is a visual programming language for beginners that is unique in that it is an intuitive flow graph:
It features easy bindings to C/C++, package management, and a cool interface.
Spkgen is an editor for the SPARK particles engine that uses a node-based interface to create particles effects for games
| Back | FazBrowse Home | New Git URL |