Home / Function/ createNodeTree() — supabase Function Reference

createNodeTree() — supabase Function Reference

Architecture documentation for the createNodeTree() function in ExplainVisualizer.parser.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  1354dff2_a00a_a836_6d23_6b19e617f15f["createNodeTree()"]
  9441c419_825c_eb70_b2a5_2509ac4ef05d["ExplainVisualizer()"]
  9441c419_825c_eb70_b2a5_2509ac4ef05d -->|calls| 1354dff2_a00a_a836_6d23_6b19e617f15f
  ac30de94_dc70_4332_43a2_049c7d7d4364["parseExplainOutput()"]
  1354dff2_a00a_a836_6d23_6b19e617f15f -->|calls| ac30de94_dc70_4332_43a2_049c7d7d4364
  style 1354dff2_a00a_a836_6d23_6b19e617f15f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.parser.ts lines 280–286

export function createNodeTree(rows: readonly QueryPlanRow[]): ExplainNode[] {
  const tree = parseExplainOutput(rows)

  // Parse additional details from each node
  tree.forEach(parseNodeDetails)
  return tree
}

Subdomains

Frequently Asked Questions

What does createNodeTree() do?
createNodeTree() is a function in the supabase codebase.
What does createNodeTree() call?
createNodeTree() calls 1 function(s): parseExplainOutput.
What calls createNodeTree()?
createNodeTree() is called by 1 function(s): ExplainVisualizer.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free