@gravity-ui/graph
Version:
Modern graph editor component
19 lines (18 loc) • 810 B
TypeScript
import { Graph } from "../../../../graph";
import { Layer, LayerContext, LayerProps } from "../../../../services/Layer";
import { ICamera } from "../../../../services/camera/CameraService";
export type TBelowLayerProps = LayerProps & {
camera: ICamera;
root: HTMLElement;
};
export type TBelowLayerContext = LayerContext & {
canvas: HTMLCanvasElement;
ctx: CanvasRenderingContext2D;
graph: Graph;
};
export declare class BelowLayer extends Layer<TBelowLayerProps, TBelowLayerContext> {
constructor(props: TBelowLayerProps);
protected afterInit(): void;
render(): void;
updateChildren(): import("../../../../lib/CoreComponent").ComponentDescriptor<import("../../../../lib/CoreComponent").CoreComponentProps, import("../../../../lib/CoreComponent").CoreComponentContext>[];
}