main graph view changed, add panel to select patterns 

added pattern selecting tab for the main graph view