|
| | BlueColourFilter (GraphProperties< GraphType > &properties) |
| |
| virtual GraphFilter< GraphType > * | clone () |
| |
|
virtual bool | operator() (E_type edge) |
| | Operator used for edges, at present this will colour both source and target of the edge.
|
| |
| virtual bool | operator() (V_type m) |
| |
|
template<typename P1 , typename P2 > |
| bool | operator() (std::pair< P1, P2 > &m) |
| | Operator used for STL.
|
| |
| | GraphFilter (std::string filter_name="", std::string filter_type="", bool inverted=false, bool enabled=true, bool nodes=true, bool edges=true) |
| |
|
void | set_inverted (bool status) |
| | Sets the inverted status.
|
| |
|
void | set_enabled (bool enabled) |
| | Sets enabled.
|
| |
| std::string | name () const |
| |
| std::string | type () const |
| |
| bool | inverted () const |
| |
| virtual bool | enabled () const |
| |
|
virtual bool | nodes () const |
| | The nodes property tells us whether this filter operates on nodes.
|
| |
|
virtual bool | edges () const |
| | The edgesproperty tells us whether this filter operates on nodes.
|
| |
| template<typename P1 , typename P2 > |
| bool | operator() (std::pair< P1, P2 > &m) |
| |
template<typename GraphType>
class BlueColourFilter< GraphType >
A filter which colours everything blue. Used to demonstrate property setting. Side-effect: set the colour blue on every node in the graph.
- Deprecated:
- Use SetPropertyAction with a TrueFilter instead.