[Haskell-cafe] graphviz: dotizeGraph and graphToGraph not adding positions

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Fri Nov 11 00:48:00 CET 2011

On 11 November 2011 02:19, Max Rabkin <max.rabkin at gmail.com> wrote:
> My understanding of the documentation for Data.GraphViz.dotizeGraph
> and graphToGraph is that they should add position attributes to a
> graph. But they always seem to return graphs with empty attribute
> lists. What am I doing wrong in the following tiny example?
>> dotizeGraph nonClusteredParams (insNode (0, "Blah") $ empty :: Gr String ())
> 0:([],"Blah")->[]
> I expected the first list to contain at least a Pos attribute.
> I have written a wrapper around /usr/share/dot which shows the program
> is outputting positional information.

OK, a bug has crept in, I'll have a look at it next week.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list