You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1014 B

4 months ago
import type { RuntimeContext } from '../runtime/types';
import type { BaseTransformOptions } from './base-transform';
import { BaseTransform } from './base-transform';
/**
* <zh/>
*
* <en/> Options for automatically adjusting the style of node labels according to the radial layout
*/
export interface PlaceRadialLabelsOptions extends BaseTransformOptions {
/**
* <zh/>
*
* <en/> Offset
*/
offset?: number;
}
/**
* <zh/>
*
* <en/> Automatically adjust the style of node labels according to the radial layout, including position and rotation angle
*/
export declare class PlaceRadialLabels extends BaseTransform<PlaceRadialLabelsOptions> {
static defaultOptions: Partial<PlaceRadialLabelsOptions>;
constructor(context: RuntimeContext, options: PlaceRadialLabelsOptions);
private get ref();
afterLayout(): void;
}