hgraph-1.2.0.1: Tools for working on (di)graphs.
Safe HaskellSafe-Inferred
LanguageHaskell2010

HGraph.Undirected.Layout.SpringModel

Documentation

setup :: UndirectedGraph g => Double -> Double -> Double -> Double -> g a -> SpringModel g a Source #

step :: forall (g :: Type -> Type) a. Adjacency g => Double -> SpringModel g a -> SpringModel g a Source #

positions :: forall (g :: Type -> Type) a. SpringModel g a -> [(a, V2 Double)] Source #