graph-rewriting-layout-0.5.8: Force-directed node placement intended for incremental graph drawing
Safe HaskellSafe-Inferred
LanguageHaskell2010

GraphRewriting.Layout.Wrapper

Synopsis

Documentation

data Wrapper w Source #

Wraps a value of type w, augmenting it with layout information

Constructors

Wrapper 

Fields

Instances

Instances details
View Position (Wrapper n) Source # 
Instance details

Defined in GraphRewriting.Layout.Wrapper

View Rotation (Wrapper n) Source # 
Instance details

Defined in GraphRewriting.Layout.Wrapper

View v n => View v (Wrapper n) Source # 
Instance details

Defined in GraphRewriting.Layout.Wrapper

Methods

inspect :: Wrapper n -> v #

update :: v -> Wrapper n -> Wrapper n #

adjust :: (v -> v) -> Wrapper n -> Wrapper n #

PortSpec n => PortSpec (Wrapper n) Source # 
Instance details

Defined in GraphRewriting.Layout.Wrapper

Methods

portSpec :: Wrapper n -> [(Vector2, Vector2)] Source #

wrapGraph :: Graph n -> Graph (Wrapper n) Source #

Wraps the nodes of a graph, augmenting them with layout information

module Data.View