Table of Contents

Class LinkTree

Namespace
Manpuku.Edinet.Xbrl
Assembly
Manpuku.Edinet.Xbrl.dll

Represents a tree structure of XBRL linkbase relationships for a specific role type and link kind.

public class LinkTree
Inheritance
LinkTree
Inherited Members

Remarks

A LinkTree models the hierarchical relationships defined in an XBRL linkbase, such as presentation, definition, or calculation links, for a given role type. It provides access to the root nodes of the tree and allows traversal of the entire structure. This class is typically used to analyze or process the relationships between XBRL taxonomy elements as defined by a particular linkbase and role. The tree structure reflects the directed relationships between XBRL items, enabling depth-first enumeration and access to node and edge metadata.

Properties

DTS

Gets the discoverable taxonomy set (DTS) associated with this link tree.

public DiscoverableTaxonomySet DTS { get; init; }

Property Value

DiscoverableTaxonomySet

LinkKind

Gets the kind of link (presentation, definition, calculation, etc.) for this tree.

public XBRLLink.LinkKind LinkKind { get; init; }

Property Value

XBRLLink.LinkKind

RoleType

Gets the role type associated with this link tree.

public RoleType RoleType { get; init; }

Property Value

RoleType

RootNodes

Gets the root nodes of the link tree.

public LinkTree.Node[] RootNodes { get; init; }

Property Value

Node[]

Methods

EnumerateDepthFirst()

Enumerates all nodes in the link tree using depth-first traversal.

public IEnumerable<LinkTree.Node> EnumerateDepthFirst()

Returns

IEnumerable<LinkTree.Node>