All examples By author By category About

emeeks

Networks - Graphs 6

Graph Example 6 for How to Create Effective Network Data Visualization

Rather than trying to show the entire network structure, this removes the links between communities and then lays out the communities on a grid. This allows readers to examine the different structures of communities and provides a different perspective on the network.

To do this, we need to use a multi-foci approach in the force layout's tick function, which pushes nodes toward an area determined by their module, and which does not allow the force layout's alpha parameter to decrease until those nodes are within a certain distance from that region.

This example relies on the jLouvain library to calculate community structure.