Table of Contents

Property Root

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

Root

Gets or sets the root of the shape tree, or null when nothing was modelled.

public ShapeNode? Root { get; set; }

Property Value

ShapeNode

Remarks

Assigning a tree parents every ShapeTextBody in it to this drawing, and replacing one detaches the bodies that were there. That is the graph edge the shape tree cannot carry itself: ShapeNode is not a DomNode, so the link has to be made where a node and a shape tree meet, which is here.