LDraw is file format describing LEGO models. Each file line contains one instructions. For more information see official LDraw file format specification. LDraw file is composed from '\n' separated row. Each row is one instructions which define some object:
Graph of object defined in LDraw file could look like this: