feat: enhance NetworkMembershipService with updated member properties and add referral code functionality; improve org chart styling and debug logging
Build and Deploy to Production / build-and-deploy (push) Successful in 2m3s
Build and Deploy to Production / build-and-deploy (push) Successful in 2m3s
This commit is contained in:
@@ -30,12 +30,15 @@ window.OrgChart = {
|
||||
return;
|
||||
}
|
||||
|
||||
// Debug: log first node to see data structure
|
||||
console.log('OrgChart Data Sample:', data[0]);
|
||||
|
||||
try {
|
||||
this.chart = new d3.OrgChart()
|
||||
.container('#' + containerId)
|
||||
.data(data)
|
||||
.nodeWidth((d) => 130)
|
||||
.nodeHeight((d) => 56)
|
||||
.nodeWidth((d) => 140)
|
||||
.nodeHeight((d) => 70)
|
||||
.childrenMargin((d) => 50)
|
||||
.compactMarginBetween((d) => 15)
|
||||
.compactMarginPair((d) => 15)
|
||||
|
||||
Reference in New Issue
Block a user