graph-rewriting-layout-0.5.4: Force-directed node placement intended for incremental graph drawing

Safe HaskellNone
LanguageHaskell98

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

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

module Data.View