Exemplo n.º 1
0
 public TreeLayoutInfo(
     TreeLayoutDirection direction,
     float levelDistance, float nodeDistance,
     bool keepRootPosition, float xGap, float yGap)
 {
     _direction        = direction;
     _levelDistance    = levelDistance;
     _nodeDistance     = nodeDistance;
     _keepRootPosition = keepRootPosition;
     _xGap             = xGap;
     _yGap             = yGap;
 }
Exemplo n.º 2
0
		public TreeLayout(
			Node root, TreeLayoutType type,
			bool reversedArrows,
			TreeLayoutArrowType arrowStyle,
			TreeLayoutDirection direction,
			float levelDistance, float nodeDistance,
			bool keepRootPosition, float xGap, float yGap)
		{
			_root = root;
			_type = type;
			_reversedArrows = reversedArrows;
			_arrowStyle = arrowStyle;
			_direction = direction;
			_levelDistance = levelDistance;
			_nodeDistance = nodeDistance;
			_keepRootPosition = keepRootPosition;
			_xGap = xGap;
			_yGap = yGap;
		}