Preparing for adding flows from textarea input.

Signed-off-by: Min Chen <minchnew@gmail.com>