I have to use recursive search concept to interchange source and target field in D3 force directed graph so that we could map dependencies dynamically.???
Very late to be responding to this question. However, for someone in the future. I have made updates to my force directed app that allows multi tier relationships to be built. Check the details tab on how to write the search.