layout.force_directed {layouts} R Documentation

Do force directed layout

Description

Usage

layout.force_directed(g,
    ejectFactor = 6,
    condenseFactor = 3,
    maxtx = 4,
    maxty = 3,
    dist = "30,250",
    size = "1000,1000",
    iterations = 200,
    algorithm = ['degree_weighted','group_weighted','edge_weighted'],
    groupAttraction = 5,
    groupRepulsive = 5,
    weightedFactor = 8,
    avoids = NULL);

Arguments

g

A network graph object. [as NetworkGraph]

iterations

The number of layout iterations. [as integer]

Details

Authors

igraph

Value

this function returns data object of type NetworkGraph.

clr value class

Examples


[Package layouts version 1.0.0.0 Index]