Filter by Property Value

The property values for any category or relationship can be used to filter the graph on the project canvas.

Each filter operates on a single property of either a category or relationship. You can define multiple filters that operate together to filter on more than one property value (for example, Name of account holders, Transaction amount, Date range, etc.).

Filters are applied in alphabetical order by property name.

Filters can accept continuous numerical values (e.g. numbers, date-time, and lat-long coordinates), as well as categorical values held in text strings (e.g. names of people or places).

The data that meets filter criteria remains on the canvas, and you can select it using Select Visible Nodes, either in the Filter panel or toolbar. Once selected, you can either keep the filtered data, or remove it from the canvas by hiding (or deleting) it.

Define multiple property value filters

In the following example graph of crimes committed at various locations, we define two filters:

  • a numerical filter on the date new property

  • a categorical filter on the postcode text string property.

To be considered continuous values, date-time values must be formatted as YYYY-MM-DD hh:mm:ss. Date-timestamps not in that format can be converted using an f(x) function in the Transform panel.

To create multiple property value filters:

  1. Open the Filter panel.

  2. In the Node Property menu, choose the date new property.

    04 03 23 FilterStart

    The filter is displayed below the menu. Since date new has numerical property values, it is a Continuous filter. The filter title includes the category label for the property (e.g. Crime). A slider shows the range of the property’s timestamp values.

    Numerical values can also be treated as categorical ones by clicking the Continuous / Categorical toggle on the filter.
  3. From the Node Property menu, choose the second postcode property. Since its property values are text strings, it is a categorical filter. A checkbox list of unique property values is displayed, with all items selected.

    04 03 24 FilterCategorical
  4. For a numerical filter set a range of values:

    • Set a range of dates using the Min and Max selectors under the slider. For filtering by date, you can click the value to display a calendar and select dates.

    • Lock down a range of values, then use the slider or animation playhead to filter using that range (for example, by year, month, or week). Each numerical filter has its own independently set playhead.

      04 03 25 FilterLockRange
  5. For a categorical filter, select property values you want to keep. You can:

    • Click the Select All checkbox to de-select all the items, then click to select the values you want.

    • Enter a wildcard or Regex search term to select only matching items (for example, BL for all postcode values containing that text string.)

      04 03 26 FilterCatSelect

      Only the data that meets filter criteria remain on the canvas. List items in the legend are updated accordingly.

      04 03 27 FilterDone

      You can:

    • Click Select Visible Nodes, either in the Filter panel or toolbar to select all data on the canvas. Once selected, you can either keep the filtered data, or remove it from the canvas by hiding (or deleting) it.

    • Dismiss the Filter panel and continue working with the filtered data on the canvas.

      The data that’s filtered out is hidden, not deleted. To restore data hidden by a filter, you must delete the operative filter.

Clear a filter

To restore data hidden by a filter, delete that filter. To see all your data again, clear (i.e., delete) all your existing filters.

  • Click the Delete button above the filter’s slider, or click the property name in the Node Properties menu.

    04 03 28 FilterDelete
Filters do not persist when you exit the project. However, when you load a saved View or Snapshot of a filtered graph, the filters are restored and the data that was filtered out is hidden.

Keep or remove filtered nodes

Filters do not delete data; if you want to delete (or hide) filtered data, you must explicitly select and delete or hide it. You can remove either the visible data, or the data that has been filtered out.

Click Hide Selection in the toolbar or right-click Actions menu to hide data temporarily, rather than delete it.

To remove visible data:

  1. Click Select Visible Nodes and press del or backspace to delete, or Hide Selected to hide.

    04 03 29 FilterSelectVisible

    The visible nodes and any connected edges are deleted. The project canvas appears empty.

  2. Clear your filters to restore data that was filtered out. Click the Del button to the right of the filter’s slider (or the x next to the property name in the Node Properties menu).

To remove the filtered data:

  1. Click Select Visible Nodes (the nodes you want to keep).

  2. Clear your filters to restore data that was filtered out. Click the Del button to the right of the filter’s slider (or the x next to the property name in the Node Properties menu).

    04 03 30 FilterDelete

    All the data appears, with the nodes and connecting edges you want still selected.

  3. Click Inverse to invert the selection.

    04 03 31 FiltersDelInverse
  4. Press del or backspace to delete, or Hide Selected to hide.