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 declarationNodes
4 declarationsuserNodeId allows a user to use their own (Int-based) node id's, without needing to remap them.
userNode takes a NodeId, and adds some attributes to that node.
Edges
3 declarationsShowing a graph
1 declarationOther combinators
5 declarationsscope groups a subgraph together; in dot these are the subgraphs inside "{" and "}".
attribute gives a attribute to the current scope.
cluster builds an explicit, internally named subgraph (called cluster).
Simple netlist generation
1 declarationvalue
netlistGraph netlistGraph generates a simple graph from a netlist.