| Did you know ... | Search Documentation: |
| Instance variables |
->collapsed
and tree->zoom
make it possible to visualise only a small part of a large tree. A tree
might contain multiple collapsed nodes.
If the tree is displayed using tree->direction,
an image is displayed at the left-hand of the line connecting the node
to its parent. This image depends on the value of
node<-collapsed:
.Tree.collapsedImage). If
the user lef-clicks on this sign, a message node->collapsed: @off
is sent to the node..Tree.expandedImage). If
the user lef-clicks on this sign, a message node->collapsed: @on
is sent to the node.
See library(pce_toc) for an example and a starting point
the visualisation of a hierarchy. See also tree->direction.
->zoom -displayed ->collapsed_handlertree <-display_root' or below a node that has node node<-collapsed: @on‘.
->zoom -collapsed<-node
and graphical<-contained_in.
<-convert <-node<-display_root
node. The node tree<-display_root
has level 0. This variable is updated by
tree->compute,
which scans the tree depth-first.<-direction
equals vertical) or the graphical image represented. Part of the layout
system.
-sons_size<-root
node this is the empty chain. Nodes may have multiple parents, but many
methods of the classes tree and node are ill-defined for this case.->move_after.
->son-my_size