haskell-igraph-0.5.0: Haskell interface of the igraph library.
IGraph.Layout
getLayout :: Graph d => LGraph d v e -> LayoutMethod -> IO [(Double, Double)] Source #
data LayoutMethod Source #
Constructors
Fields
The base standard deviation of position change proposals
The initial temperature for the annealing
The cooling factor for the simulated annealing
The Kamada-Kawai vertex attraction constant
The maximum length of the move allowed for a vertex in a single iteration. A reasonable default is the number of vertices.
This parameter gives the area of the square on which the vertices will be placed. A reasonable default value is the number of vertices squared.
The cooling exponent. A reasonable default value is 1.5.
Determines the radius at which vertex-vertex repulsion cancels out attraction of adjacent vertices. A reasonable default value is area times the number of vertices.
defaultKamadaKawai :: LayoutMethod Source #
defaultLGL :: LayoutMethod Source #