fix: update the `labelPosition` property to restore "no align" (#203)
Allow a special value to be passed to avoid calculating the alignment.development
parent
900593572b
commit
1ec9b723c9
|
@ -411,12 +411,13 @@ export type CellStateStyle = {
|
|||
* - `left` means that the entire label bounds is placed completely just to the left of the vertex.
|
||||
* - `right` means that the label bounds are adjusted to the right.
|
||||
* - `center` means that the label bounds are vertically aligned with the bounds of the vertex.
|
||||
* - `ignore` means that there is no alignment
|
||||
*
|
||||
* Note that this value does not affect the positioning of label within the label bounds.
|
||||
* To move the label bounds horizontally within the label bounds, use {@link align}
|
||||
* @default 'center'
|
||||
*/
|
||||
labelPosition?: AlignValue;
|
||||
labelPosition?: AlignValue | 'ignore';
|
||||
/**
|
||||
* The width of the label if the label position is not `center`.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue