HGraph.Undirected.Layout.SpringModel
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 #