Package graph :: Module traversal |

# Module traversal

Traversal algorithms for python-graph.

Functions
iterator |
traversal(graph, node, order) Graph traversal iterator. |

Function Details

### traversal(graph, node, order) |
Graph traversal iterator. Parameters: `node` (node) - Node. `order` (string) - traversal ordering. Possible values are: 'pre' - Preordering (default) 'post' - Postordering Returns: iterator Traversal iterator.