Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

动态拓扑

Add and remove nodes from running dataflows without restarting.

CLI Commands

# Add a node from a YAML definition
adora node add --from-yaml new-node.yml --dataflow my-app

# Remove a node (stops process + cleans up mappings)
adora node remove my-app filter-node

# Connect two nodes (add a live mapping)
adora node connect --dataflow my-app sender/value filter/input

# Disconnect two nodes (remove a mapping)
adora node disconnect --dataflow my-app sender/value filter/input

Node YAML Definition

Dynamic nodes are defined in standalone YAML files with the same format as a single entry in the nodes: list:

# filter-node.yml
id: filter
path: filter.py
outputs:
  - output

After adding, wire inputs explicitly with adora node connect.

Examples

Current Limitations

  • Daemon-side node spawning for AddNode is pending (coordinator dispatch works, daemon logs a warning)
  • Cross-daemon dynamic topology not yet supported
  • Dynamic nodes are not persisted across dataflow restart

See the Dynamic Topology Plan for the full design.