/Force-Atlas-2

R implementation of the Force Atlas 2 algorithm

Primary LanguageR

Force-Atlas-2

R implementation of the Force Atlas 2 graph layout designed for Gephi. The algorithm is detailed in:

Jacomy M, Venturini T, Heymann S, Bastian M (2014) ForceAtlas2, a Continuous Graph Layout Algorithm for Handy Network Visualization Designed for the Gephi Software. PLoS ONE 9(6): e98679. doi:10.1371/journal.pone.0098679

Installation

This is not a package yet, so you should download the "ForceAtlas2.R" file and source() it.

Usage

   library(igraph)
   g <- graph.ring(100)
   layout.forceatlas2(g, iterations=10000, plotstep=500)

Disclaimer

This function is currently under development, use it at your own risk. Is written in R not in C++ as the igraph package so it can be slow compared to other layouts.

Authors