| Applying science to business management |
  
treelist
Format: treelist( namespec, all )
Arguments: [node] namespec Any list of node
names
(bool) all Optional flag indicating if undefined nodes
should be included in the list; default = false
Returns: [text] A list containing the names of all
nodes referenced by the nodes in namespec
Description: Treelist is used to create a list of all
nodes used in a tree branch. Treelist decomposes the
top-level node specified in namespec into a list of every
node it uses. This list of second-level nodes is then decomposed
further into all third-level nodes and so on. The result is a
list of all nodes needed to make the top node functionally
complete.
Examples: Assume the following nodes have been created:
f(x):=g(x)+3
g(x):=x/6+k
h(x):=x^2+k
k:=123
treelist("f") = [f,g,k]
treelist("h") = [h,k]
treelist("f,h") = [f,h,g,k]
See Also: all, rootnode, selectednode, endnodes, inputs, outputs
|