nodes:
  - id: cxx-node-rust-api
    path: build/node_rust_api
    inputs:
      tick: dora/timer/millis/300
    outputs:
      - counter

  - id: cxx-node-c-api
    path: build/node_c_api
    inputs:
      tick: cxx-node-rust-api/counter
    outputs:
      - counter

  - id: runtime-node-1
    operators:
      - id: operator-rust-api
        shared-library: build/operator_rust_api
        inputs:
          counter_1: cxx-node-c-api/counter
          counter_2: cxx-node-rust-api/counter
        outputs:
          - status

  - id: runtime-node-2
    operators:
      - id: operator-c-api
        shared-library: build/operator_c_api
        inputs:
          op_status: runtime-node-1/operator-rust-api/status
        outputs:
          - half-status
