Re: [graph-tool] GraphView and subclasses of Graph

2016-09-21 Thread Patrick Totzke
Quoting Tiago de Paula Peixoto (2016-09-21 17:45:32) > On 21.09.2016 14:53, Patrick Totzke wrote: > >>> Is there a better way to filter my graphs than writing a custom > >>> `GraphView` subclass for it? > >> > >> You can just use the set_edge/vertex_filter() methods of Graph.et > > > > Yes, but

Re: [graph-tool] GraphView and subclasses of Graph

2016-09-21 Thread Tiago de Paula Peixoto
On 21.09.2016 14:53, Patrick Totzke wrote: >>> Is there a better way to filter my graphs than writing a custom >>> `GraphView` subclass for it? >> >> You can just use the set_edge/vertex_filter() methods of Graph.et > > Yes, but as far as I understand one cannot add multiple vertex-filters >

Re: [graph-tool] GraphView and subclasses of Graph

2016-09-21 Thread Patrick Totzke
Hi Tiago, thanks for your prompt reply. Quoting Tiago de Paula Peixoto (2016-09-21 10:35:39) > On 21.09.2016 10:28, Patrick Totzke wrote: > > I am toying around with a particular class of graphs for which I wrote a > > subclass of `graph_tools.Graph`. It should be great to be able to use > >

Re: [graph-tool] GraphView and subclasses of Graph

2016-09-21 Thread Tiago de Paula Peixoto
On 21.09.2016 10:28, Patrick Totzke wrote: > I am toying around with a particular class of graphs for which I wrote a > subclass of `graph_tools.Graph`. It should be great to be able to use > `GraphView` for filtering (I'm implementing a divide-and-conquer > algorithm and want to recur on