doc/dataflow: update to new API