Hi there,
I was wondering if anyone can provide some pointers on how to check for diamond dependencies whilst performing a Depth-First Search over a graph...I have the following graph A -> B, A -> F, B -> C, B-> E, C -> D, E -> D.
I am trying to construct a hirearchy of containers that represent the specified graph however when i reach a diamond dependency i am not sure what to do. For example, in my graph, C and E are both child containers of B, when i resolve D i need to reference C and E. Could i detect a diamond dependency and combine C and E into a single container?
Thanks
Rohan