[Top][All Lists]

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

Re: [igraph] Question on max id node

From: Richard Geddes
Subject: Re: [igraph] Question on max id node
Date: Sun, 09 Mar 2008 14:36:01 -0400
User-agent: Thunderbird (X11/20080227)

Thanks.  Looks like what I was looking for.

Tamas Nepusz wrote:
> Hi Richard,
>> Is there a function that provides the value of the largest node id in
>> the imported graph?
> If you are using C (I assume you do), try to attach the C attribute
> handler and then read your graph using igraph_read_graph_ncol (this is
> for the NCOL format which is practically a named edge list). This is
> able to store the vertex names used in the NCOL file as a vertex
> attribute. After that, you can scan the attribute values to find the
> largest one.
> See http://cneurocvs.rmki.kfki.hu/igraph/doc-0.5/html/ch09s02.html for
> the usage of the C attribute handler.

reply via email to

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