Nodeeditor

Qt Node Editor. Dataflow programming framework
Alternatives To Nodeeditor
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Vnote10,226
a month ago568lgpl-3.0C++
A pleasant note-taking platform.
Tiled9,655
19 hours ago9September 22, 2022646otherC++
Flexible level editor
Shotcut7,933
a day ago81gpl-3.0C++
cross-platform (Qt), open-source (GPLv3) video editor
Spyder7,62889844a day ago99May 23, 20221,145mitPython
Official repository for Spyder - The Scientific Python Development Environment
Olive6,990
5 days ago73otherC++
Free open-source non-linear video editor
Notepadnext6,091
a day ago21gpl-3.0C++
A cross-platform, reimplementation of Notepad++
Openshot Qt3,394
a day ago100otherPython
OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
Apkstudio2,354
a year ago28lgpl-3.0C++
Open-source, cross platform Qt based IDE for reverse-engineering Android application packages.
Nodeeditor2,303
2 months ago57bsd-3-clauseC++
Qt Node Editor. Dataflow programming framework
Goneovim2,101
7 days ago51June 21, 202294mitGo
A GUI frontend for neovim.
Alternatives To Nodeeditor
Select To Compare


Alternative Project Comparisons
Readme

QtNodes

Introduction

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.

Documentation

Read the Docs for QtNodes

Warning
Many classes were changed in the version 3.0. If you had a large project based on 2.x.x, make sure you read the documentation first and see the examples before checking out the new code.

Branches

There are branchses v2 and v3 for versions 2.x.x and 3.x respectively. The branch master contains the latest dev state.

Data Flow Paradigm

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.

Supported Environments

Platforms

  • Linux (x64, gcc-7.0, clang-7) ImageLink
  • OSX (Apple Clang - LLVM 3.6) ImageLink
  • Windows (Win32, x64, msvc2017, MinGW 5.3) AppveyorImage

Dependencies

  • Qt >5.15
  • CMake 3.8
  • Catch2

Current State (v3)

  • Model-based graph
  • Headless mode You can create, populate, modify the derivative of 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.
  • Automatic data propagation built on top of the graph-model code The library could be used for both pure graph visualization purposes and for originally implemented data propagation.
  • Dynamic ports
  • Datatype-aware connections
  • Embedded Qt widgets
  • One-output to many-input connections
  • JSON-based interface styles
  • Saving scenes to JSON files
  • Custom Node Geometry
  • Vertical and Horizontal graph layouts
  • Undo/Redo, Duplication (CTRL+D)

Building

Linux

git clone [email protected]:paceholder/nodeeditor.git
cd nodeeditor
mkdir build
cd build
cmake ..
make -j && make install

Qt Creator

  1. Open CMakeLists.txt as project.
  2. If you don't have the Catch2 library installed, go to Build Settings, disable the checkbox BUILD_TESTING.
  3. Build -> Run CMake
  4. Build -> Build All
  5. Click the button Run

With Cmake using vcpkg

  1. Install vcpkg
  2. Add the following flag in configuration step of CMake
-DCMAKE_TOOLCHAIN_FILE=<vcpkg_dir>/scripts/buildsystems/scripts/buildsystems/vcpkg.cmake

Help Needed

  1. Python wrappring using PySide.
  2. QML frontend.
  3. Wirting a ClangFormat config.

Any suggestions are welcome!

Contribution

  1. Be polite, respectful and collaborative.
  2. For submitting a bug:
    1. Describe your environment (Qt version, compiler, OS etc)
    2. Describe steps to reproduce the issue
  3. For submitting a pull request:
    1. Create a proposal task first. We can come up with a better design together.
    2. Create a pull-request. If applicable, create a simple example for your problem, describe the changes in details, provide use cases.
  4. For submitting a development request:
    1. Describe your issue in details
    2. Provide some use cases.
  5. I maintain this probject in my free time, when I am not busy with my work or my family. If I do not react or do not answer for too long, please ping me.

Citing

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}
}

Support

If you like the project you could donate me on PayPal ImagePaypal

If you send more than $100, I'll forward $100 to some fund supporting sick children and report to you back.

Thanks

The version 3 was released with a generous help of Davide Faconti

Showcase

Youtube videos

https://img.youtube.com/vi/pxMXjSvlOFw/0.jpg

https://img.youtube.com/vi/i_pB-Y0hCYQ/0.jpg

CANdevStudio

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.

docs/_static/showcase_CANdevStudio.png

Chigraph

Chigraph is a visual programming language for beginners that is unique in that it is an intuitive flow graph:

docs/_static/chigraph.png

It features easy bindings to C/C++, package management, and a cool interface.

Spkgen particle editor

Spkgen is an editor for the SPARK particles engine that uses a node-based interface to create particles effects for games

docs/_static/spkgen.png
Popular Editor Projects
Popular Qt Projects
Popular Text Editors Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Editor
Graph
Qt
Particles
X64
Data Flow
Dataflow Programming