QML-NodeGraph
QML-NodeGraph copied to clipboard
QML Node Graph
QML Node Graph
This is a basic QML module for creating node graphs. It may serve you as an inspiration, when you are intending to create your own.
Features
- A
Nodecan have any number ofAttributes. - Each
Attributecan have an input and an outputSocket. - The inputs and outputs of each
Attributecan be linked by aLink. - Multiple
Nodescan be selected using theSelectionRectand moved around or deleted.
Preview
This is me playing around with the sample:

Sample
You can try out the sample yourself using qmlscene:
qmlscene -I . Sample.qml
Dependencies
import QtQuick 2.12
import QtQuick.Shapes 1.15