HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduledotgen-0.4.3Haskell2010

Text.Dot

This module provides a simple interface for building .dot graph files, for input into the dot and graphviz tools. It includes a monadic interface for building graphs.

  • 2 types
  • 13 values
  • Packagedotgen-0.4.3
  • Exports15
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceDot.hs

Dot

1 declaration
datadata Dot a
#
Instances3Monad, Functor, Applicative

Nodes

4 declarations

Edges

3 declarations

Showing a graph

1 declaration

Other combinators

5 declarations
valuescope :: Dot a -> Dot a
#

scope groups a subgraph together; in dot these are the subgraphs inside "{" and "}".

valuesame :: [NodeId] -> Dot ()
#

same provides a combinator for a common pattern; a set of NodeIds with the same rank.

Simple netlist generation

1 declaration