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

2011-11-10 Thread Ivan Lazar Miljenovic
On 11 November 2011 02:19, Max Rabkin  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.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2011-11-10 Thread 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.

--Max

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe