igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] RuntimeWarning when reading GraphML


From: Gábor Csárdi
Subject: Re: [igraph] RuntimeWarning when reading GraphML
Date: Fri, 6 Feb 2009 18:52:29 +0100

So, as I see it, this would be almost exactly the current behavior,
except for renaming 'id' to "GraphML:id" when reading the graph. Oh,
and perhaps using "GraphML:id" as <node id="n3"> ids when writing out
the graph.

G.

On Fri, Feb 6, 2009 at 6:36 PM, Tamas Nepusz <address@hidden> wrote:
>> 1) Whether to read the <node id="n3"> type of ids from the graph, or
>> not. It they are not read, then we might lose some information. If
>> they are read, that could lead to confusion.
>
> I think we should read them anyway, but renaming the auto-generated "id"
> attribute to "GraphML:id" seems a good idea; chances are that some of our
> users will use the "id" attribute for other purposes, but it's unlikely with
> "GraphML:id".
>
>> 2) Whether to use the "id" (igraph) vertex attribute as <node id="n3">
>> type of ids, when we write out a GraphML file. Perhaps not.
>
> I agree; in general, nothing guarantees that the "id" attributes are unique
> and although igraph will happily save the graph as GraphML in this case, it
> won't be able to read it back.
>
> --
> Tamas
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

[Prev in Thread] Current Thread [Next in Thread]