flowgraph prototype (plus support)