-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
When you apply a NodeAttributeRangeFilter with a given range that doesn't match any node (or edge, in the case of an EdgeAttributeRangeFilter), a GraphView which is equal to the original main graph is returned.
Here's an example code, suppose that all the nodes have the attributeColumn in the range [0, +inf[ (i.e. strictly positive):
AttributeRangeFilter filter = new
AttributeRangeBuilder.NodeAttributeRangeFilter(attributeColumn);
Query query = filterController.createQuery(filter);
// this shouldn't match any nodes
filter.setRange(new Range(-10, -5));
filterController.filterVisible(query);
Imported from Launchpad using lp2gh.
- date created: 2011-08-09T03:10:04Z
- owner: luizribeiro
- assignee: mathieu.bastian
- the launchpad url was https://bugs.launchpad.net/bugs/823036