added sublogics to logic graph

@tillmo 
fixes #1376. All sublogics names are separated by newlines. If you want separate elements for every sublogic, let me know.