add graph labels and links to documents