namespace Netron.Diagramming.Core {
///
/// Abstract base class providing convenience methods for tree layout algorithms.
///
abstract class TreeLayoutBase : LayoutBase {
#region Fields
///
/// the root of the tree
///
private IShape mLayoutRoot;
#endregion
#region Consstructor
///
/// Initializes a new instance of the class.
///
/// The name.
/// The controller.
protected TreeLayoutBase(string name, IController controller)
: base(name, controller) {
}
#endregion
#region Properties
///
/// Gets or sets the layout root.
///
/// The layout root.
public IShape LayoutRoot {
get {
return mLayoutRoot;
}
set {
mLayoutRoot = value;
}
}
#endregion
}
}