Ignore:
Timestamp:
03/13/12 17:37:00 (2 years ago)
Author:
miha
Branch:
default
rebase_source:
7061e5ffc2548c205428ae70adaf9c1e57d47204
Message:

Fixed a bug on largest connected component.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/OWNxHist.py

    r10499 r10509  
    218218                component = Orange.network.nx.algorithms.components.connected_components(graph)[0] 
    219219                if len(component) > 1: 
    220                     self.graph = graph.subgraph(include) 
     220                    self.graph = graph.subgraph(component) 
    221221                    matrix = self.matrix.getitems(component) 
    222222                else: 
Note: See TracChangeset for help on using the changeset viewer.