Treeview Layout

I’m trying to create a hierarchical list of nodes by copying some of the code form the OrgChartEditor sample, but am having trouble getting everything positioned the way I would like.

What I want would be something like this:

Root object

1 2
2a 2b
3 4
4a
Currently the closest I've been able to get looks like this:

Root object 1


2

2a
2b
3
4
4a
I'm sure it's just that I don't have the right properties set, but I'm not sure which would give me the desired result.

Thanks
Ryan

I haven’t tried this recently, but I think you want to do:
<go:TreeLayout Angle=“0” Alignment=“Start” NodeIndentPastParent=“1” Compaction=“None” />

You probably also want to set PortSpot=“MiddleBottom”, but I’m not sure how you want the links to come out of the parent nodes.

Of course you’ll also want to adjust the …Spacing properties to suit.