@extends('layouts.user', ['heading' => 'Network Tree', 'subheading' => 'Genealogy, binary, and sponsor network view']) @section('content') @php $baseQuery = request()->query(); @endphp
Total Nodes (Loaded)
{{ number_format((int) $treeStats['nodes']) }}
Depth {{ $depth }} limited lazy load
Leg Strength
Left: {{ number_format((int) $treeStats['left_nodes']) }}
Right: {{ number_format((int) $treeStats['right_nodes']) }}
Binary Match Units
{{ number_format((float) $binaryStats['match_units'], 2) }}
Weak Leg: {{ strtoupper($binaryStats['weak_leg']) }}
Carry Forward
L: {{ number_format((float) ($carry->repurchase_left ?? 0), 2) }}
R: {{ number_format((float) ($carry->repurchase_right ?? 0), 2) }}
Genealogy Binary Sponsor
Click any node for details. Tree loads depth-limited for large network performance.
Node Information
User ID: {{ $focusNode['member_code'] ?? $user->member_code }}
Name: {{ $focusNode['name'] ?? $user->name }}
Rank: {{ $focusNode['rank_name'] ?? 'Unranked' }}
Status: {{ ucfirst($focusNode['status'] ?? $user->status) }}
Sponsor: {{ $focusNode['sponsor_code'] ?? '-' }}
Join Date: {{ $focusNode['joined_at'] ?? '-' }}
Package: {{ number_format((float) ($focusNode['package_amount'] ?? 0), 2) }}
Personal BV: {{ number_format((float) ($focusNode['personal_bv'] ?? 0), 2) }}
Team Size: {{ number_format((int) ($focusNode['team_size'] ?? 0)) }}
Direct Referrals: {{ number_format((int) ($focusNode['direct_referrals'] ?? 0)) }}
Income Wallet: {{ number_format((float) ($focusNode['income_balance'] ?? 0), 2) }}
Repurchase BV for rank: L {{ number_format((float) $binaryStats['left_repurchase_bv'], 2) }} / R {{ number_format((float) $binaryStats['right_repurchase_bv'], 2) }}
@endsection