Dataflow example - Rete.js

Dataflow

GuideHybrid3D ConfiguratorAllmatterPlugin

This example showcases a data processing pipeline using rete-engine, where data flows from left to right through nodes.

Each node features a data method, which receives arrays of incoming data from their respective input sockets and delivers an object containing data corresponding to the output sockets. To initiate their execution, you can make use of the engine.fetch method by specifying the identifier of the target node. Consequently, the engine will execute all predecessors recursively, extracting their output data and delivering it to the specified node.