[Haskell-cafe] ANN: diagrams 0.4
rustompmody at gmail.com
Tue Oct 25 17:17:35 CEST 2011
On Tue, Oct 25, 2011 at 10:40 AM, Ivan Lazar Miljenovic <
ivan.miljenovic at gmail.com> wrote:
> On 25 October 2011 16:02, Rustom Mody <rustompmody at gmail.com> wrote:
> > On Mon, Oct 24, 2011 at 10:16 AM, Ivan Lazar Miljenovic
> > <ivan.miljenovic at gmail.com> wrote:
> >> On 24 October 2011 13:51, Rustom Mody <rustompmody at gmail.com> wrote:
> >> > How does diagrams compare with graphviz? If this is an inappropriate
> >> > (type-wrong?) question thats ok :-) Its just that when I last looked
> >> > graphviz I found the documentation somewhat impenetrable -- like much
> >> > else
> >> > in Hackage -- lots of types, no examples.
> >> How is it now, better? If not, what kind of more documentation would
> >> like?
> > Without claiming to have looked very hard, I looked up grahhviz in hayoo,
> > gathered I should be looking at Data.GraphViz and tried clicking
> > that looked reasonable here
> > but still cant find an example of a graph :-) ie a graphviz graph in
> > haskell.
> Well, there are indeed examples in there, but not in Data.GraphViz:
> that module is aimed more at "how can I convert my existing data into
> a Dot representation", not constructing one by hand. As of the latest
> version (2999.12.*), there are indeed examples for anyone that wants
> * Sample graph in Dot representation used as a base case:
> * Using the canonical representation:
> * Using the graph representation:
> * Using the Monadic representation (based upon the dotgen package):
In the Data.GraphViz.Types.Generalised page you have the starting line:
It is sometimes useful to be able to manipulate a Dot graph *as* an actual
graph. This representation lets you do so...
Evidently some other context is needed to understand this line?
[Sorry if I am dense]
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe