I've only used the R package, but you can give a vertex any attribute you
wish.

e.g. V(g)$weight <- habitat.area

or something like that.

On Fri, Aug 14, 2015 at 4:08 PM, Ian Thornhill <[email protected]>
wrote:

> Hi all,
>
> New to this group and new to using iGraph, so apologies if this is easily
> answered.
>
> Is it possible to weight the vertices / nodes such that one can analyse
> how flow across the graph might be impacted? For example, I'd like to use
> habitat area as a proxy for productivity i.e. bigger patches act as sources
> to the graph.
>
> Thanks,
> Ian
>
> _______________________________________________
> 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