Skip to content

Add Community Clusters layout plugin - #351

Merged
mbastian merged 4 commits into
gephi:master-forgefrom
johanm:community-clusters
Nov 9, 2026
Merged

mbastian merged 4 commits into
gephi:master-forgefrom
johanm:community-clusters

Conversation

@johanm

@johanm johanm commented Oct 26, 2026

Copy link
Copy Markdown

New plugin or plugin update?

  • New Plugin
  • Update

What is the purpose of this plugin?

Community Clusters is a layout that arranges a network so that each community forms its own visible cluster, with the clusters placed apart from each other and the nodes inside each cluster arranged by their ties.

Communities are read from a node column of your choice (default modularity_class, as created by Statistics > Modularity). If no column is given or the column does not exist, communities are detected with a built-in Leiden implementation, and the result can be saved to a community_cluster node column. Settings cover cluster pull, inter-cluster tie strength, repulsion, tie length, node spacing, scale, cooling speed, random seed and Leiden resolution. A full manual is in modules/CommunityClusters/MANUAL.md.

How to test your plugin in Gephi?

  1. Open a graph (for example Les Miserables from the Gephi samples) and run Statistics > Modularity.
  2. In the Layout panel choose "Community Clusters" and press Run. The layout stops by itself after a few hundred steps and each community appears as its own cluster.
  3. To try the built-in community detection, clear the "Cluster column" setting and run again. The detected communities are saved to a new node column community_cluster, which you can use for colouring under Appearance > Nodes > Partition.

Checklist before submission

  • Did you merged with the master branch to get the latest updates?
  • Did you build and test the plugin successfully locally?
  • Did you include metadata (e.g. plugin author, license) in the pom.xml file
  • Did you make sure NOT to include any unnecessary files in your PR?
  • Did you write unit tests to test your plugin functionalities?

@mbastian
mbastian changed the base branch from master to master-forge November 7, 2026 15:59
@mbastian
mbastian merged commit 9d2388b into gephi:master-forge Nov 9, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants