# API Reference
# GraphNode
Each GraphNode represents an actual node in the Catalog Graph.
# node.title
Type:
StringUsage
The node's title.
Default to the corresponding page's title or the parent-folder's name if hasPage returns false.
# node.regularPath
Type:
StringUsage
The page's file hierarchy path.
# node.id
Type:
StringUsage
Default to the corresponding page's key or the regularPath if hasPage returns false.
# node.frontmatter
Type:
ObjectUsage
Addtional properteis added to the pages. See frontmatter for more detail.
# node.parent
Type:
{Object} GraphNodeUsage
The node's parent node.
nullwhen root node.
# node.children
Type:
Array<GraphNode>Usage
The node's children nodes.
# node.hasPage()
Type:
FunctionUsage
Determintes if the node has a corresponding page.
# Line
Currently, the Line Object is still limited.
# line.target
- Type:
String GraphNode.id
# line.source
- Type:
String GraphNode.id
# line.value
Type:
NumberUsage
Currently, value is fixed to
8.