Optional
options: object = {}array of reactions that should be applied
Optional
options: { max?: number; min?: number } = {}Optional
max?: numbermax depth of the reaction
Optional
min?: numbermin depth of the reaction
Optional
options: object = {}Returns all the leaves of the trees
Returns all the nodes of the trees
When applying reactions some branches may be dead because it can not be implied in any reaction. This is the case when we specify a 'min' reaction depth. This will returno only the valid nodes
We need to call this method for all the reactants on which we want to apply the reactions. If there is only one reactant, we call this method with an array of one reactant. If there are multiple reactants, we call this method with an array of the reactants. This method has to be called for all the reactants