Add legend for social graph