Visualizing subgraphs
Often, in network analysis, we will want to see just a portion of the network, and how nodes in that portion link to each other. For instance, if I have a list of 100 web domains of interest or social media accounts, then it may be useful to create a subgraph of the whole graph for analysis and visualization.
For the analysis of a subgraph, everything in this chapter is still applicable. You can use centralities on subgraphs to identify important nodes in a community, for instance. You can also use community detection algorithms to identify communities that exist in a subgraph when the communities are unknown.
Visualizing subgraphs is also useful when you want to remove most of the noise in a network and investigate how certain nodes interact. Visualizing a subgraph is identical to how we visualize whole networks, ego graphs, and temporal graphs. But creating subgraphs takes a tiny bit of work. First, we need to identify the nodes of interest, then we need...