TreeGraphView for iOS by 24529772 machacker16

Download Source

by 1 person

(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

Found a bug, have a problem? Check out the Cocoa Controls FAQ before posting a comment.

blog comments powered by Disqus