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; }
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; }