Very often, anyone studying a graph is interested in certain parts of it and doesn't need to look at the entire graph, and that is where we need a way of filtering out required portions of the graph. Gephi has a wide set of filters, based on which specific parts of a graph can be filtered out and then studied in detail. For example, one might filter out nodes based on modularity and then run statistics such as degree, PageRank, and so on, one after the other. In this recipe, we will learn about some of these filters and how to use them on graphs.
To filter out selected portions of a graph based on certain pre-specified criteria, follow these steps: