combinat-0.2.3.1: Generation of various combinatorial objects.

Math.Combinat.Graphviz

Description

Creates graphviz .dot files from various structures, for example trees.

Synopsis

Documentation

binTree'Dot :: (Show a, Show b) => String -> BinTree' a b -> DotSource

treeDot :: Show a => String -> Tree a -> DotSource

Generates graphviz .dot file from a tree. The first argument is the name of the graph.

forestDot :: Show a => Bool -> String -> Forest a -> DotSource

Generates graphviz .dot file from a forest. The first argument tells whether to make the individual trees clustered subgraphs; the second is the name of the graph.