added option to set a new type
added name to default view
improvement and bug fixes for the graph vizualiation