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 modus operandi is possible.
There are branchses v2 and v3 for versions 2.x.x and 3.x
respectively. The branch master contains the latest dev state.
Navigation
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.
AbstractGraphModel
without adding it to the actual Flow Scene. The library is now designed to be
general-purpose graph visualization and modification tool, without
specialization on only data propagation.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 .. -BUILD_SHARED_LIBS=off
git clone git@github.com:paceholder/nodeeditor.git cd nodeeditor mkdir build cd build cmake .. make -j && make install
-DCMAKE_TOOLCHAIN_FILE=<vcpkg_dir>/scripts/buildsystems/scripts/buildsystems/vcpkg.cmake
Any suggestions are welcome!
Dmitry Pinaev et al, Qt Nodes, (2022), GitHub repository, https://github.com/paceholder/nodeeditor
BibTeX:
@misc{Pinaev2022,
author = {Dmitry Pinaev et al},
title = {QtNodes. Node Editor},
year = {2017},
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 Thanks
The version 3 was released with a generous help of Showcase