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
Squash bugs in less than a minute
Tired of wasting time debugging your mobile app? Instabug's SDK is here to help you minimize your debugging time by providing you with complete device details, network logs, and reproduction steps with every bug report. All data is attached automatically. It only takes one minute to setup. Get started for free.