On Fri, Jun 26, 2009 at 12:44 PM, Gábor Csárdi<
address@hidden> wrote:
> Marco, this was not a bug, but I just followed the GML specification that
> said that directed is 1 for undirected graphs.
>
> In the current igraph version this is "corrected", directed is 1 for
> directed graphs. We made this change to be consistent with the many software
> packages that use GML format.
>
> Best,
> Gabor
>
> On Fri, Jun 26, 2009 at 12:35 PM, Marco <
address@hidden> wrote:
>>
>> Hello all igraphers!
>>
>> I am using an old version of the library on an old Fedora machine.
>>
>> When I build a tree, using:
>>
>> g=igraph.Graph.Tree(100,3)
>>
>> and then write the graph to a file (GML format) the result is a
>> directed graph: the GML file reads:
>>
>> Creator "igraph version 0.5 Fri Jun 26 12:31:25 2009"
>> Version 1
>> graph
>> [
>> directed 1
>> ....
>>
>> Which is not obvious, since the Tree() should default to
>> "type=TREE_UNDIRECTED".
>>
>> Is that a glitch in the old version I am using, or it's a bug?
>> And if it is the latter, has it been fixed in more recent versions?
>> Is there a fix without updating?
>>
>> I guess I should update, but I don't know if the admin will let me :)
>>
>> Thanks,
>>
>> marco
>>
>> --
>> restituiremo il riso ai salici
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>>
address@hidden
>>
http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
> --
> Gabor Csardi <
address@hidden> UNIL DGM
>
>
> _______________________________________________
> igraph-help mailing list
>
address@hidden
>
http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help