updated flowEditor to hold switch data in drop down menus