Text this: Deciphering the generating rules and functionalities of complex networks