We define modularity, Q, as a measure of how well a network is partitioned into communities.
Networks and nodes can be characterised and compared by finding and profiling their network motifs (subgraphs), specifically induced subgraphs and graphlets (connected subgraphs).