TreeGraphView for iOS by machacker16

Download Source
by 2 people

(Click the stars to add your rating)

Tree Graph Simple. You can make Tree Graph view using array. I can take a array and add relationship with data. Array Is this Format.

NSMutableArray *dataArray = [NSMutableArray new];

// Demo Data Creation to represent the flat data

[dataArray addObject:@{@"emp_id":@100}];

[dataArray addObject:@{@"emp_id":@1000,@"mgr_id":@100}];

[dataArray addObject:@{@"emp_id":@2000,@"mgr_id":@100}];

[dataArray addObject:@{@"emp_id":@3000,@"mgr_id":@2000}];

[dataArray addObject:@{@"emp_id":@4000,@"mgr_id":@1000}];

[dataArray addObject:@{@"emp_id":@4001,@"mgr_id":@1000}];

[dataArray addObject:@{@"emp_id":@5000,@"mgr_id":@4000}];

[dataArray addObject:@{@"emp_id":@5001,@"mgr_id":@4000}];

[dataArray addObject:@{@"emp_id":@6002,@"mgr_id":@5000}];
License:
MIT
Language:
Objective-C
Sponsored with ❤️ by Instabug
Receive Detailed Feedback and Debug your iOS App 10x Faster
Instabug helps you collect feedback and bug/crash reports from your users and testers. Comprehensive reports are forwarded to Instabug’s dashboard including device details, network requests and most importantly, the reproduction steps. learn more.