Show graph and component labels correctly