On Wed, Jan 29, 2014 at 11:18 AM, Ragia Ibrahim <[email protected]> wrote:

> Hi,
> kindly please :
> I had a graph, i can assign weight for each edge, but can i assign other
> properties such as bool variable or other second weight.
>

Yes, you can assign arbitrary attributes. See
http://igraph.sourceforge.net/doc/R/attributes.html


>
> Also how can i write "  each v belongs to set of V's " where V is nodes.
> or should i write it in for statement :   for i in 1: lenght of v do
>

I am not quite sure what you are asking, but if you want to iterate over
the vertices, you can just do

for (i in V(g)) { ... }

Gabor


> replying is highly appreciated
> RAE
>
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to