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

GraphRewriting.Layout.PortSpec

Synopsis

Documentation

class PortSpec n whereSource

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