igraph-help
[Top][All Lists]
Advanced

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

[igraph] E(g) edges in multigraph


From: Narayanan, Manikandan (NIH/NIAID) [C]
Subject: [igraph] E(g) edges in multigraph
Date: Wed, 14 Mar 2012 19:52:36 -0400

Hi, 
  I am trying to get all edges between two vertices in a multigraph using 
E(g,P) but I get only one edge. Could you please help me retrieve the ids of 
all multiple edges? 


  Here is an example: 
g = graph.ring(3)
g = add.edges(g, c(0,1)) #make into a multigraph
E(g, P=c(0,1)) #outputs only one edge and not two (0,1) edges!


Thanks, 
Mani



reply via email to

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