Home / Function/ NodeContainer() — supabase Function Reference

NodeContainer() — supabase Function Reference

Architecture documentation for the NodeContainer() function in Nodes.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Database/Replication/ReplicationDiagram/Nodes.tsx lines 21–33

const NodeContainer = ({ className, children }: PropsWithChildren<{ className?: string }>) => {
  return (
    <div
      style={{ width: NODE_WIDTH / 2 + 55 }}
      className={cn(
        'flex items-start justify-between p-3 rounded bg-surface-100 border border-default',
        className
      )}
    >
      {children}
    </div>
  )
}

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free