GH_DocumentTree

References
Represents a hierarchical tree of documents that are subsidiary to one another.

Constructors

GH_DocumentTree

#
public GH_DocumentTree(GH_Document root)
Create a new document tree.
root (GH_Document)Root document.

Properties

FlatCollection

#
public IEnumerable<GH_Document> FlatCollection { get; }
Gets a flat collection of all documents. The most subsidiary documents are at the start of the collection.

Root

#
public GH_DocumentTreeNode Root { get; }
Gets the root node for this document.

RootDocument

#
public GH_Document RootDocument { get; }
Gets the document inside the root node of this tree.

Methods

AppendToDebugLog

#
[EditorBrowsable(EditorBrowsableState.Advanced)] public void AppendToDebugLog(GH_DebugDescriptionWriter writer)
writer (GH_DebugDescriptionWriter)
AppendToDebugLog