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

GraphRewriting.Layout.PortSpec

Synopsis

Documentation

class PortSpec n where Source #

Port position relative to the node center, and the direction in which edges should stick out.

Methods

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

Instances

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

Defined in GraphRewriting.Layout.Wrapper

Methods

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

propOfPort :: View [Port] n => (n -> [a]) -> Edge -> n -> [a] Source #

module Data.View