Skip to main content

a node graph framework

Project description

SpatialNode

Code style: black

Introduction

SpatialNode 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.

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.

Acknowledge

This project is forked form nodeeditor originally but rewrite to pure python project, which can integrate with python package well.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SpatialNode-0.0.1.post1.tar.gz (39.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SpatialNode-0.0.1.post1-py3-none-any.whl (64.1 kB view details)

Uploaded Python 3

File details

Details for the file SpatialNode-0.0.1.post1.tar.gz.

File metadata

  • Download URL: SpatialNode-0.0.1.post1.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for SpatialNode-0.0.1.post1.tar.gz
Algorithm Hash digest
SHA256 cff3dd77980d73665bc0739817bef8667e790705117432d14ea67493429af49a
MD5 92ef11e466660405fa3dd355b51f1581
BLAKE2b-256 84708d477efabb3ea62d07623f19d1da0eca1ead317c6853610e63c9abac640a

See more details on using hashes here.

File details

Details for the file SpatialNode-0.0.1.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for SpatialNode-0.0.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 08064e2e0e8a0dbf307fc34009d2f0b29226e8ce670ad028514bcec2fcb625ce
MD5 8bbb7f952840afe05eef1c2153ce2734
BLAKE2b-256 4290b6821c94d48757141d368ae5c8ac0d8caed72433778a5c946049a89ed4d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page