[WIP] viz api

Support iterative visualization. Fixes #111