add legend link in complex graph