In This Topic
Adjusts the columns of nodes within the unfixedLayer in order to move nodes towards
their median columns. The direction argument indicates which of the adjacent layers
should be taken into consideration when computing the median column.
The idea is shift nodes to the left and to the right to move nodes towards their
median columns, ensuring that no two nodes have overlapping "allocations" of columns.
Returns true if some change was made to the layer.
Syntax
protected virtual bool MedianStraighten(
int ,
int
)
Parameters
- unfixedLayer
- direction
Return Value
Returns true if some change was made to the layer and false otherwise.
See Also