add resource graph annotation