[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2017-03-30T09:48:45+01:00 https://forum-gephi.org/app.php/feed/topic/6172 2017-03-30T09:48:45+01:002017-03-30T09:48:45+01:00 https://forum-gephi.org/viewtopic.php?t=6172&p=14278#p14278 <![CDATA[Toolkit - Edge Filtering]]> I tried the following code:

CODE:

        FilterController filterController = Lookup.getDefault().lookup(FilterController.class);        EdgePartitionFilter EdgePartitionFilter = new EdgePartitionFilter(graphModel.getEdgeTable().getColumn("kind"), appearanceModel);        EdgePartitionFilter.unselectAll();        EdgePartitionFilter.addPart("Function");        Query query = filterController.createQuery(EdgePartitionFilter);        GraphView view = filterController.filter(query);        graphModel.setVisibleView(view);                                  graph = graphModel.getDirectedGraphVisible();        System.out.println("Nodes: " + graph.getNodeCount() + " Edges: " + graph.getEdgeCount());
Unfortunately, it does not work because it does not delete the edges. I tried the version 0.9.1 and the 0.9.2 snapshot
Can someone help me please? I am a total newbie :D

Statistics:Posted by raffaelecesarano — 30 Mar 2017 09:48


]]>