DOKK / manpages / debian 12 / libgo-perl / GO::Model::TreeIterator.3pm.en
GO::Model::TreeIterator(3pm) User Contributed Perl Documentation GO::Model::TreeIterator(3pm)

  GO::Model::GraphIterator - wraps GO::Model::GraphIterator

This is a hack. It wraps GO::Model::GraphIterator and provides a tree like iteration, rather than a graph-like iteration.

This is done by giving TreeIterator a template array.

The array looks like this :

[ [3674, 'isa', 3673], [9277, 'isa', 5618] ]

3674 is selected iff it is the child of 3673. 9277 is selected iff it is the child of 5618.

  Usage   - $graphiter->order("breadth");
  Returns - string
  Args    - string

gets/sets traversal order; breadth or depth; default is depth

  Usage   - $graphiter->direction("up");
  Returns - string
  Args    - string

gets/sets direction; default is "down"

  Usage   -
  Returns - GO::Model::Term
  Args    -

  Usage   -
  Returns - GO::Model::Term
  Args    -

  Usage   -
  Returns - 
  Args    -

  Usage   -
  Returns - 
  Args    -

  Usage   -
  Returns - array ref
  Args    - none

  Usage   -
  Returns - GO::Model::GraphNodeInstance
  Args    -
2021-01-09 perl v5.32.0