I have a requirement for displaying a company's parent and subsidaries companies in a hierarchial structure. In case if it s parent company has another subsidary then that also has to be included in the hierarchy and so on.
if customer A has
1. Two parent companies B, C
2. Three subsidiary companies D, E, F.
then the tree should appear like below with connectibng lines
D E F
If customer A has two parent companies B, C and three subsidiary companies D, E.
1. For Customer E, if F is added as Subsidiary in Allied Companies
2. For Company B, if Company G is added as Parent Allied Companies
so is there is any open source component available to solve my problem please suggest