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: Thu, 15 Mar 2012 09:36:18 -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



PS: Apologies if you receive multiple copies of this email as I wasn't sure if 
I properly subscribed to the list when I first sent this email. 


reply via email to

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