graph by tag [not finished]