sentences:  This quantity is symmetric on an undirected graph, and follows the sum rules formula_6 and formula_7.In a Directed graph, in-assortativity (formula_8) and out-assortativity (formula_9) measure the tendencies of nodes to connect with other nodes that have similar in and out degrees as themselves, respectively.Extending this further, four types of assortativity can be considered (see).