output label in graph