pyffi :: utils :: graph :: GlobalNode :: Class GlobalNode
[hide private]
[frames] | no frames]

Class GlobalNode

source code

object --+    
         |    
DetailNode --+
             |
            GlobalNode
Known Subclasses:

A node of the global graph.
Instance Methods [hide private]
 
get_global_display(self)
Very short summary of the data of this global branch for display purposes.
source code
 
get_global_child_nodes(self, edge_filter=(True, True))
Generator which yields all children of this item in the global view, of given edge type (default is edges of type 0).
source code
 
get_global_child_edge_types(self, edge_filter=(True, True))
Generator which yields all edge types of this item in the global view, one edge type for each child.
source code
 
get_global_iterator(self, edge_filter=(True, True))
Iterate over self, all children, all grandchildren, and so on (only given edge_filter is followed).
source code

Inherited from DetailNode: get_detail_child_edge_types, get_detail_child_names, get_detail_child_nodes, get_detail_display, get_detail_iterator, replace_global_node

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_global_display(self)

source code 
Very short summary of the data of this global branch for display purposes. Override this method.
Returns:
A string.

get_global_child_nodes(self, edge_filter=(True, True))

source code 

Generator which yields all children of this item in the global view, of given edge type (default is edges of type 0).

Override this method.

Returns:
Generator for global node children.

get_global_child_edge_types(self, edge_filter=(True, True))

source code 

Generator which yields all edge types of this item in the global view, one edge type for each child.

Override this method if you rely on non-default edge types.

get_global_iterator(self, edge_filter=(True, True))

source code 
Iterate over self, all children, all grandchildren, and so on (only given edge_filter is followed). Do not override.