updated flowEditor with port drop down menu based on switch selected