igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Re: reading graph from files ??


From: Gábor Csárdi
Subject: Re: [igraph] Re: reading graph from files ??
Date: Tue, 19 Jan 2010 21:34:23 +0100

Hi,

this is currently not supported.

Gabor

On Tue, Jan 19, 2010 at 9:26 PM, alex <address@hidden> wrote:
> Hi,
> thanx a lot it works now.
> I have just one question, i have read in the documentation that the
> function:
>
>   igraph_read_graphml(igraph_t *graph, File *instream, int index)
>
> where index is the index of the graph to be load if the GraphML contains
> more than one graph.
>
> So my question can i write more than one graph in graphML format because i
> have checked the documentation and i haven't found how to do it.
>
> Thx for help
>
>
>
>>> Hi, yes i don't precise it, i include igraph in my C code. I have done as
>>> you said to me but when i want to read the file graphML it says me:
>>>  Error at foreign-graphml.c:1024 :Extra content at the end of the
>>> document , Parse error Aborted
>>>
>>> Have any idea ? is it because i have set an attribute before writing to
>>> file ?
>>>
>>
>> You have to close the file with fclose() and open it again before calling
>> igraph_read_graph_graphml -- otherwise it will start reading from the end of
>> file.
>>
>>
>
>
>
> _______________________________________________
> 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]