Initialize graph labels