public OrgChartLayoutOptions()
 {
     this.DefaultNodeSize      = new VisioAutomation.Geometry.Size(2, 0.5);
     this.Direction            = OrgChartLayoutDirection.Down;
     this.UseDynamicConnectors = true;
     this.PageBorderWidth      = 0.5;
 }
 private Layouts.InternalTree.LayoutDirection map_direction2(OrgChartLayoutDirection input_dir)
 {
     Layouts.InternalTree.LayoutDirection dir;
     if (input_dir == OrgChartLayoutDirection.Down)
     {
         dir = Layouts.InternalTree.LayoutDirection.Down;
     }
     else if (input_dir == OrgChartLayoutDirection.Up)
     {
         dir = Layouts.InternalTree.LayoutDirection.Up;
     }
     else if (input_dir == OrgChartLayoutDirection.Left)
     {
         dir = Layouts.InternalTree.LayoutDirection.Left;
     }
     else if (input_dir == OrgChartLayoutDirection.Right)
     {
         dir = Layouts.InternalTree.LayoutDirection.Right;
     }
     else
     {
         dir = Layouts.InternalTree.LayoutDirection.Down;
     }
     return(dir);
 }