Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Layout/LayoutSettings.cs @ 2768

Last change on this file since 2768 was 2768, checked in by mkommend, 14 years ago

added solution folders and sources for the netron library (ticket #867)

File size: 1.4 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace Netron.Diagramming.Core.Layout
6{
7    public static class LayoutSettings
8    {
9        public static class TreeLayout
10        {
11            /// <summary>
12            /// Gets or sets the TreeOrientation of the standard/classic tree layout
13            /// </summary>
14            public static TreeOrientation TreeOrientation
15            {
16                get { return StandardTreeLayout.Orientation; }
17                set { StandardTreeLayout.Orientation = value; }
18            }
19
20            /// <summary>
21            /// Gets or sets the spacing between siblings.
22            /// </summary>
23            public static float BreadthSpacing
24            {
25                get { return StandardTreeLayout.BreadthSpacing;}
26                set { StandardTreeLayout.BreadthSpacing = value; }
27            }
28            /// <summary>
29            /// Gets or sets the spacing between parent-child.
30            /// </summary>
31            public static float DepthSpacing
32            {
33                get { return StandardTreeLayout.DepthSpacing;}
34                set { StandardTreeLayout.DepthSpacing = value; }
35            }
36
37            public static float SubTreeSpacing
38            {
39                get { return StandardTreeLayout.SubTreeSpacing; }
40                set { StandardTreeLayout.SubTreeSpacing = value; }
41            }
42        }
43    }
44}
Note: See TracBrowser for help on using the repository browser.