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.
- A
Node
can have any number ofAttributes
. - Each
Attribute
can have an input and an outputSocket
. - The inputs and outputs of each
Attribute
can be linked by aLink
. - Multiple
Nodes
can be selected using theSelectionRect
and moved around or deleted.
This is me playing around with the sample:
You can try out the sample yourself using qmlscene:
qmlscene -I . Sample.qml
import QtQuick 2.12
import QtQuick.Shapes 1.15