Join GitHub today
AttributeRangeFilter returns main graph when nothing matches filter #435
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
Imported from Launchpad using lp2gh.