How to create child links

Hi,
I am trying to create a child links in my flowchart…can you give me a solution…
find the pic like as I needed…

Thanks in advance…

What is the problem? Is it that you cannot create links programmatically, or that users cannot draw new links, or that they do not appear the way that you want?

I need to create links, same as shown in above image…programmatically …can you give me some example codes…

If your graph is tree-structured, Get Started with GoJS shows how to create such a diagram.

And this sample shows that and a lot more: Org Chart Editor
This one even includes a “TreeExpanderButton”: Org Chart Extras