Module

Transit.Data.DotLang

Package
purescript-transit
Repository
m-bock/purescript-transit

Data types and functions for generating Graphviz DOT language output.

This module provides a type-safe way to construct DOT language graphs for visualization with Graphviz.

#Attr Source

data Attr

Graph attribute (name-value pair).

Constructors

Instances

#Edge Source

data Edge

Graph edge from one node to another with attributes.

Constructors

Instances

#GlobalAttrs Source

newtype GlobalAttrs

Global graph attributes.

Constructors

Instances

#GraphvizGraph Source

newtype GraphvizGraph

Complete Graphviz directed graph.

Constructors

Instances

#Node Source

data Node

Graph node with optional raw attributes and attribute list.

Constructors

Instances

#Raw Source

type Raw = String

Raw DOT language string (for custom attributes).

#Section Source

data Section

Section of a DOT graph (node, edge, or global attributes).

Constructors

Instances

#arrowHeadNone Source

#arrowSize Source

#arrowTailNone Source

#bgColor Source

#ToDotStr Source

class ToDotStr a  where

Type class for converting values to DOT language string representation.

Members

Instances

#color Source

#dirBoth Source

#fillColor Source

#fixedSize Source

#fontColor Source

#fontNameArial Source

#fontSize Source

#labelHtml Source

#labelHtmlBold Source

#labelHtmlItalic Source

#labelLocC Source

#labelLocT Source

#penWidth Source

#rankDirTD Source

#shapeBox Source

#shapeCircle Source

#shapeDiamond Source

#styleFilled Source