import { Attributes } from "graphology-types"; import { NodeHoverDrawingFunction, NodeLabelDrawingFunction, NodeProgramType } from "sigma/rendering"; import { TextureManagerOptions } from "./texture.js"; interface CreateNodeImageProgramOptions extends TextureManagerOptions { drawingMode: "background" | "color"; keepWithinCircle: boolean; drawLabel: NodeLabelDrawingFunction | undefined; drawHover: NodeHoverDrawingFunction | undefined; padding: number; colorAttribute: string; imageAttribute: string; } /** * To share the texture between the program instances of the graph and the * hovered nodes (to prevent some flickering, mostly), this program must be * "built" for each sigma instance: */ export default function createNodeImageProgram(options?: Partial>): NodeProgramType; export {};