GoJS - GraphLinksModel Can't Sort Root Nodes At Top of Diagram

Here is my page code, when you show this in a browser you will notice that are a number of root nodes, nodes without parents, but I cannot get them to sort and align at the top of the diagram.

#myOverviewDiv { position: absolute; width:200px; height:100px; top: 10px; left: 10px; background-color: aliceblue; z-index: 300; /* make sure its in front */ border: solid 1px blue; }

What is your Diagram.layout?

myDiagram.model = $(go.GraphLinksModel, { nodeDataArray: nodeDataArray,linkDataArray: linkDataArray});

Sorry,…
layout:
$(go.TreeLayout,
{
treeStyle: go.TreeLayout.StyleLayered, //go.TreeLayout.StyleRootOnly,//go.TreeLayout.LayerIndividual, //go.TreeLayout.StyleLastParents,
layerStyle: go.TreeLayout.LayerUniform,
//arrangement: go.TreeLayout.ArrangementHorizontal,
// properties for most of the tree:
angle: 90,
alignment: go.TreeLayout.AlignmentCenterChildren,
nodeSpacing: 20,
layerSpacing: 50,
breadthLimit: 0,
rowSpacing:25,
nodeIndent:0,
rowIndent: 10,
sorting: go.TreeLayout.SortingForwards

If you uncomment the line:

    arrangement: go.TreeLayout.ArrangementHorizontal

does that help?

That did it…thanks so many parameters !!