family-tree:18233 Loaded hidden person branches from storage: Array(2) family-tree:18242 Reset father branch toggle state to false on page load (mother card will be visible) family-tree:19100 DOM Content Loaded - Initializing tree... family-tree:2801 Fetching tree data from: http://127.0.0.1:8000/family-tree/data/tree family-tree:2815 Tree data loaded: Array(8) family-tree:2816 Number of people: 8 family-tree:18224 Loaded hidden ancestors by person from storage: Array(2) family-tree:18233 Loaded hidden person branches from storage: Array(2) family-tree:18242 Reset father branch toggle state to false on page load (mother card will be visible) family-tree:2840 saaim mother (ID: 244) has siblings: Array(1) family-tree:2840 Muhammad Saaim (ID: 242) has siblings: Array(2) family-tree:2852 Clearing previous tree state... family-tree:2864 Setting up tree... family-tree:3040 Excluded ancestor IDs from main tree: Array(7) family-tree:3073 dataMap size after filtering: 8 family-tree:3074 Hidden ancestor IDs: Array(0) family-tree:3078 Main person parents (should be in dataMap): Array(7) family-tree:3111 Verified: Main person parent 243 is in dataMap family-tree:3111 Verified: Main person parent 244 is in dataMap family-tree:3166 Parent sibling IDs to exclude from tree hierarchy: Array(1) family-tree:3395 Root nodes: 1 family-tree:3396 Root: Object family-tree:3397 Data map size: 8 family-tree:3521 Tree descendants: 1 family-tree:3522 Unique IDs: Array(1) family-tree:2866 Building tree... family-tree:3660 Main person identified by user_id: 242 Muhammad Saaim family-tree:3689 Main person ID: 242 family-tree:3693 Root persons: Array(4) family-tree:3699 Selected main person: Muhammad Saaim family-tree:3791 Looking for sibling connections... family-tree:3797 Node 242 (Muhammad Saaim): siblings = Array(2) depth = 0 parents = Array(2) family-tree:3808 Checking sibling 243: NOT FOUND in nodeMap family-tree:3808 Checking sibling 244: NOT FOUND in nodeMap family-tree:3932 Total sibling links found: 0 family-tree:4154 Unique nodes to render: 1 family-tree:4155 Excluded parent IDs from main tree: Array(2) family-tree:4461 Checking node for parent cards: Muhammad Saaim ID: 242 mainPersonId: 242 isMainPerson: true family-tree:4476 ✓ Adding parent cards above: Muhammad Saaim ID: 242 family-tree:4736 Adding view button on father card - motherHasSiblings: true fatherBranchToggled: false family-tree:4807 Total father partners found: 0 Array(0) family-tree:5097 Skipping father siblings - father branch is hidden because mother has siblings family-tree:13908 Mother card check - mother: saaim mother shouldShowMother: true fatherBranchToggled: false family-tree:13943 Total mother partners found: 0 Array(0) shouldShowMotherBranch: true family-tree:14332 Adding view button on mother card - motherHasSiblings: true fatherBranchToggled: false family-tree:14379 Mother has siblings - showing mother's branch and hiding father's branch family-tree:14404 Excluding mother's parent from siblings: saaim mother's mother (this is a parent, not a sibling) family-tree:14444 Total mother siblings found: 0 Array(0) family-tree:15644 Checking grandmother's parents: Object family-tree:15666 Grandmother parent data found: Array(1) family-tree:15677 Grandmother has parents: true family-tree:16720 === PARENT-CHILD LINK DEBUG === family-tree:16721 Main person ID: 242 family-tree:16722 Main person parents: Array(2) family-tree:16726 All children found: Array(3) family-tree:16779 Filtered children (after removing partners): Array(3) family-tree:16800 Child node not found in tree: saaim's father ID: 243 (anonymous) @ family-tree:16800Understand this warning family-tree:16800 Child node not found in tree: saaim mother ID: 244 (anonymous) @ family-tree:16800Understand this warning family-tree:16817 Child nodes with positions: Array(1) family-tree:16826 Main person node position: 490 0 family-tree:16846 Drawing parent-child links: Object family-tree:16873 Drew horizontal line from -310 to 310 at Y: -110 family-tree:16904 Drawing vertical line from parent midpoint ( 0 , -110 ) to child ( 0 , -40 ) family-tree:16970 === END PARENT-CHILD LINK DEBUG === family-tree:2868 Centering tree... family-tree:2870 Tree initialization complete family-tree:3040 Excluded ancestor IDs from main tree: Array(7) family-tree:3073 dataMap size after filtering: 8 family-tree:3074 Hidden ancestor IDs: Array(0) family-tree:3078 Main person parents (should be in dataMap): Array(7) family-tree:3111 Verified: Main person parent 243 is in dataMap family-tree:3111 Verified: Main person parent 244 is in dataMap family-tree:3166 Parent sibling IDs to exclude from tree hierarchy: Array(1) family-tree:3395 Root nodes: 1 family-tree:3396 Root: Object family-tree:3397 Data map size: 8 family-tree:3521 Tree descendants: 1 family-tree:3522 Unique IDs: Array(1) family-tree:3660 Main person identified by user_id: 242 Muhammad Saaim family-tree:3689 Main person ID: 242 family-tree:3693 Root persons: Array(4) family-tree:3699 Selected main person: Muhammad Saaim family-tree:3791 Looking for sibling connections... family-tree:3797 Node 242 (Muhammad Saaim): siblings = Array(2) depth = 0 parents = Array(2) family-tree:3808 Checking sibling 243: NOT FOUND in nodeMap family-tree:3808 Checking sibling 244: NOT FOUND in nodeMap family-tree:3932 Total sibling links found: 0 family-tree:4154 Unique nodes to render: 1 family-tree:4155 Excluded parent IDs from main tree: Array(2) family-tree:4461 Checking node for parent cards: Muhammad Saaim ID: 242 mainPersonId: 242 isMainPerson: true family-tree:4476 ✓ Adding parent cards above: Muhammad Saaim ID: 242 family-tree:4736 Adding view button on father card - motherHasSiblings: true fatherBranchToggled: false family-tree:4807 Total father partners found: 0 Array(0) family-tree:5097 Skipping father siblings - father branch is hidden because mother has siblings family-tree:13908 Mother card check - mother: saaim mother shouldShowMother: true fatherBranchToggled: false family-tree:13943 Total mother partners found: 0 Array(0) shouldShowMotherBranch: true family-tree:14332 Adding view button on mother card - motherHasSiblings: true fatherBranchToggled: false family-tree:14379 Mother has siblings - showing mother's branch and hiding father's branch family-tree:14404 Excluding mother's parent from siblings: saaim mother's mother (this is a parent, not a sibling) family-tree:14444 Total mother siblings found: 0 Array(0) family-tree:15644 Checking grandmother's parents: Object family-tree:15666 Grandmother parent data found: Array(1) family-tree:15677 Grandmother has parents: true family-tree:16720 === PARENT-CHILD LINK DEBUG === family-tree:16721 Main person ID: 242 family-tree:16722 Main person parents: Array(2) family-tree:16726 All children found: Array(3) family-tree:16779 Filtered children (after removing partners): Array(3) family-tree:16800 Child node not found in tree: saaim's father ID: 243 (anonymous) @ family-tree:16800Understand this warning family-tree:16800 Child node not found in tree: saaim mother ID: 244 (anonymous) @ family-tree:16800Understand this warning family-tree:16817 Child nodes with positions: Array(1) family-tree:16826 Main person node position: 482.5 0 family-tree:16846 Drawing parent-child links: Object family-tree:16873 Drew horizontal line from -310 to 310 at Y: -110 family-tree:16904 Drawing vertical line from parent midpoint ( 0 , -110 ) to child ( 0 , -40 ) family-tree:16970 === END PARENT-CHILD LINK DEBUG ===