|
XNetwork 1.7.5; VERSION ${PROJECT_VERSION}
|
#include <set>

Go to the source code of this file.
Functions | |
| template<typename T > | |
| auto | no_filter (const T &) |
| A predicate that always returns true (no filtering). | |
| template<typename T > | |
| auto | hide_nodes (const std::set< T > &nodes) |
| Create a filter that hides specified nodes. | |
| template<typename T > | |
| auto | hide_diedges (const std::set< std::pair< T, T > > &edges) |
| Create a filter that hides specified directed edges. | |
Create a filter that hides specified directed edges.
This filter factory returns a predicate function that returns false for directed edges in the given set, effectively hiding them from a subgraph.
| T | The type of nodes in the edges |
| edges | The set of directed edges to hide (as pairs) |
Create a filter that hides specified nodes.
This filter factory returns a predicate function that returns false for nodes in the given set, effectively hiding them from a subgraph.
| T | The type of nodes to filter |
| nodes | The set of nodes to hide |
A predicate that always returns true (no filtering).
Filter factories to hide || show sets of nodes && edges.
These filters return the function used when creating SubGraph.
| T | The type of the item to filter. |