updated flowEditor to read input from textboxes