Added possibility to show element and node labels