igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Unwanted multiple edges between vertices


From: Tamás Nepusz
Subject: Re: [igraph] Unwanted multiple edges between vertices
Date: Fri, 18 Jul 2014 12:17:43 +0200

Hi,

Show us a small, self-contained example that reproduces the issue, otherwise we 
cannot tell you what you are doing wrong. 

T. 

> On 18 Jul 2014, at 07:57, Ram MS <address@hidden> wrote:
> 
> Hi,
> 
> I am creating an instance of igraph in Python and adding some vertices and 
> edges using add_vertices and add_edges methods of the Graph object. All the 
> vertices and edges are created in one go. I have a 'name' attribute on the 
> vertices and a 'weight' attribute on the edges. Strangely, I am observing 
> multiple edges added between some vertices with the same weight. 
> 
> Currently I am calling graph.simplify() to remove the unwanted multiple edges 
> after the graph is constructed. But I am wondering why it is creating 
> multiple edges at all. Could someone help me see what might be going on?
> 
> Thanks,
> Ram
> 
> 
> _______________________________________________
> 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]