gephi / gephi/gephi-toolkit-demos
Filter graph by partition
- Dominant language
- Java
- Stars
- 96
- Forks
- 89
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 2
Description
I'm trying to filter a graph by partition using the toolkit 0.9.1.
Running the [example](https://github.com/gephi/gephi-toolkit-demos/blob/master/src/main/java/org/gephi/toolkit/demos/Filtering.java), the filter by partition does not work.
`//Filter, keep partition 'Blogarama'. Build partition with 'source' column in the data
NodePartitionFilter partitionFilter = new NodePartitionFilter(graphModel.getNodeTable().getColumn("source"), appearanceModel);
partitionFilter.unselectAll();
partitionFilter.addPart("Blogarama");
Query query2 = filterController.createQuery(partitionFilter);
GraphView view2 = filterController.filter(query2);
graphModel.setVisibleView(view2);`
There is something wrong in the query parameters?
many thanx
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.