_model.Layout.Type = LayoutTypes.HierarchicalTree;
_model.Layout.Orientation = LayoutOrientations.TopToBottom;
_model.Layout.VerticalSpacing = 30;
_model.Layout.HorizontalSpacing = 30;
_model.Layout.FixedNode = "HOME";
The diagram responds correctly when the code above is commented out.