hiding information when graph is empty