Use get.edgelist() and then index your vertex attributes with the two
columns it returns. Kinda hacky, but igraph does not really have a good
language/syntax for manipulating attributes.

Gabor


On Thu, May 8, 2014 at 4:46 PM, Wang, Jing <[email protected]>wrote:

>  Dear Sir/Madam,
>
>  If I have the node weights for a network and want to calculate the edge
> weights based on the weights of two nodes in each edge, how can I calculate
> it?
>
>  Thanks,
>
> _______________________________________________
> 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