E: Data Structure in GH - DavidJenny/Digitales-Entwerfen-ZHAW GitHub Wiki

Here you can find more information on the use of lists and trees in Grasshopper.

Data Structure

A List is composed of multiple Items. Each item has an index number assigned based on its order in a list.

A Tree is composed of multiple Lists, called Branches. Each branch has a number assigned to it.

The numbering provided allows extracting specific information.


List manipulation

There are different options for extracting information and modifying the order of Lists.


Tree manipulation

There are also multiple options to extract information from a Tree.

The tree structure can be manipulated with Flatten, Simplify, Graft, and Reverse trees.