Organizational business flow chart


In ERPNExt V.14 there is a chart Organizational Chart which is very good interactive flow chart of companies employee flow chart based to their reporting boss.

I need to develop another flow chart which actually the business flow chart based on company, branch and deprtments. The sample flow chart is like this:

How can develop this flow just like the existing Organizational Chart?

If anyone know how to do it, please help me with this issue.

Thank you