PSTreeGraph icon indicating copy to clipboard operation
PSTreeGraph copied to clipboard

How to Extend this Implementation to work with nodes having multiple parents? (Flow Charts)

Open vemulanishanth opened this issue 8 years ago • 0 comments

Hi,

I would like to use this awesome implementation of tree structure for my requirement (to draw a flowchart). Here I have a requirement where I need to draw a flow chart in a na iPad. The chart is similar to tree-structure this project, just that a node might have multiple parents.

I tried to start editing the code by first changing the - (id <PSTreeGraphModelNode> )parentModelNode; method in PSTreeGraphModelNode protocol to - (NSArray <PSTreeGraphModelNode> *)parentModelNode;

I met lot of roadblocks in #pragma mark - Model Tree Navigation implementations of PSBaseTreeGraphView.m. I would like to know if these implementations can be discarded because I do not need #pragma mark - Selection State methods as I intend to show all the nodes.

Any help is well appreciated.

vemulanishanth avatar Aug 30 '17 09:08 vemulanishanth