I have a dynamic hierarchy of nodes & relations and want to extract max of a Node (p) associated in that hirerchy . Snippet of hierarchies is as under
EG:-p1<-p2<-p4<-p5
p1<-p2<-p4<-p6
p1<-p3<-p7<-p8
p1<-p3<-p7<-p9
I have a node c..n having relations...