Creating short version of full name for agents in graph