![]() |
dfx 0.1.0
Linux-based dynamic dataflow executor
|
Options controlling graph loading behavior. More...
#include <dfx-graph/Loader.hpp>
Public Attributes | |
| std::size_t | errorLimit = 10 |
| Maximum number of channel-verification errors to collect per channel creation. | |
| bool | startNodes = false |
| Start newly created nodes after a successful load. | |
Options controlling graph loading behavior.
These options are consumed by Loader when building a graph from a .dfx JSON document (file or in-memory JSON).
| std::size_t dfx::Graph::LoaderOptions::errorLimit = 10 |
Maximum number of channel-verification errors to collect per channel creation.
This value is forwarded to dfx::Graph::Controller::addChannel() as the errorLimit parameter. It limits the number of human-readable errors produced by channel verification (mime-type / kind compatibility) before truncation.
A value of 0 means "no limit".
| bool dfx::Graph::LoaderOptions::startNodes = false |
Start newly created nodes after a successful load.
When enabled, Loader will call node->start() for each node created during this load operation, after nodes and channels have been created successfully.
Nodes that already existed in the controller before loading are not started by this option.