graphviz: dotizeGraph and graphToGraph not adding positions

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. --Max

On 11 November 2011 02:19, Max Rabkin
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@gmail.com IvanMiljenovic.wordpress.com
participants (2)
-
Ivan Lazar Miljenovic
-
Max Rabkin