igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Getting the vertices associated to an edge


From: Gábor Csárdi
Subject: Re: [igraph] Getting the vertices associated to an edge
Date: Mon, 29 Jun 2015 19:49:46 +0200

Hi Matt. In the new version it is called ends(). G.

library(igraph)
g <- make_ring(10)

ends(g, 1)
#>      [,1] [,2]
#> [1,]    1    2

ends(g, 3)
#>      [,1] [,2]
#> [1,]    3    4
 


On Mon, Jun 29, 2015 at 7:30 PM, Matt <address@hidden> wrote:
Dear All,

If I have an edges, is there a way to get its vertices?

Thank you very much.

Best regards.

Matt

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help


reply via email to

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