コード例 #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;
 }
コード例 #2
0
ファイル: FCLayout.cs プロジェクト: ChrisMoreton/Test3
		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;
		}