package pomap

  1. Overview
  2. Docs

Specification for drawing Hasse-diagrams.

include DEFAULT_SPEC
val name : string
val label : string
val size_x : float
val size_y : float
val ratio : float
val rotation : float
val center : bool
val top_attr : string

Node attribute string for top nodes, e.g. "shape = box"

val bot_attr : string

Node attribute string for bottom nodes

val top_bot_attr : string

Node attribute string for top/bottom nodes

val edge_attr : string

Edge attribute string, e.g. "color = blue"

type el
type +'a node
val pp_node_attr : Format.formatter -> el node -> unit

pp_node_attr ppf node prints attributes of node to the pretty-printer ppf.