This technique takes a LIST of SUB-TREE descriptions and builds the TREE-DIAGRAM.
Each node is a single word. First word is the ROOT of the sub-tree. The rest are the NODES of the subtree.
There are 4 types of nodes COLLECTIONS, Sequences, alternatives & functionNodes (denoted by case).
A ‘#’ at the start of a line puts a rectangle around that sub-tree (usually denotes a CLASS).
This document uses the Mermaid Pack by @Leandro_Zubrezki