UNPKG

sigma

Version:

A JavaScript library dedicated to graph drawing.

12 lines (11 loc) 473 B
/** * Sigma.js Canvas Renderer Hover Component * ========================================= * * Function used by the canvas renderer to display a single node's hovered * state. * @module */ import { Settings } from "../../settings"; import { NodeAttributes, PartialButFor } from "../../types"; export default function drawHover(context: CanvasRenderingContext2D, data: PartialButFor<NodeAttributes, "x" | "y" | "size" | "label" | "color">, settings: Settings): void;