Displaying 1 result from an estimated 1 matches for "igraph_friendship".
2012 Oct 18
1
help finding edge connecting two nodes
...ng.
I want to find the edge weight between two vertices in a graph. My graph
structure is defined by the normal ego (node1), alter (node2) and the weight
of the edge between them.
I know that I can get the weight for each of the edges in the list of edges
that originate from node number 5 using E(igraph_friendship) [ from(5)
]$weight And that I can find the weight for each of the edges in the list of
edges that end onto node number 10 using E(igraph_friendship) [ to(10)
]$weight
But what if I simply want to find the weight of the edge that simple
connects just node 5 and node 10?
Alternatively, if I can ge...