GraphElemFilter is a base class for any class used to filter graph elements (instances of GraphElem). The Application class provides six pre-defined instances to filter for entities, junctors, groups, edges, start entities and end entities. Script writers can also create classes derived from GraphElemFilter to perform arbitrary filtering.


filter( elem )

Returns True if the elem matches the filter. Derived classes should override this method. Reminder: Your derived class needs to include self as the first parameter, with elem as the second.

Last updated