TreeGraphView for iOS

Download Source

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

Platform: iOS

Sponsored with ❤️ by Instabug
Why do mobile-first companies choose Instabug over Crashlytics
Instabug

Instabug helps you identify and resolve severe crashes quickly. You can retrace in-app events and know exactly which line of code caused the crash along with environment details, network logs, repro steps, and the session profiler. Ask more questions or keep users up-to-date with in-app replies straight from your dashboard. We take data privacy seriously, so no one sees your data but you!