1"use strict";(self.webpackChunk_sigma_website=self.webpackChunk_sigma_website||[]).push([[3458],{8909:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>i,contentTitle:()=>o,default:()=>u,frontMatter:()=>c,metadata:()=>n,toc:()=>a});const n=JSON.parse('{"id":"typedoc/node-square/src/functions/drawSquareNodeHover","title":"Function: drawSquareNodeHover()","description":"drawSquareNodeHover\\\\(context, data, settings): void","source":"@site/docs/typedoc/node-square/src/functions/drawSquareNodeHover.md","sourceDirName":"typedoc/node-square/src/functions","slug":"/typedoc/node-square/src/functions/drawSquareNodeHover","permalink":"/docs/typedoc/node-square/src/functions/drawSquareNodeHover","draft":false,"unlisted":false,"editUrl":"https://github.com/jacomyal/sigma.js/tree/main/packages/website/docs/typedoc/node-square/src/functions/drawSquareNodeHover.md","tags":[],"version":"current","frontMatter":{},"sidebar":"sigmaDocSidebar","previous":{"title":"NodeSquareProgram","permalink":"/docs/typedoc/node-square/src/classes/NodeSquareProgram"},"next":{"title":"drawSquareNodeLabel","permalink":"/docs/typedoc/node-square/src/functions/drawSquareNodeLabel"}}');var t=s(1085),d=s(1184);const c={},o="Function: drawSquareNodeHover()",i={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"context",id:"context",level:3},{value:"data",id:"data",level:3},{value:"settings",id:"settings",level:3},{value:"Returns",id:"returns",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,d.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.header,{children:(0,t.jsx)(r.h1,{id:"function-drawsquarenodehover",children:"Function: drawSquareNodeHover()"})}),"\n",(0,t.jsxs)(r.blockquote,{children:["\n",(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.strong,{children:"drawSquareNodeHover"}),"<",(0,t.jsx)(r.code,{children:"N"}),", ",(0,t.jsx)(r.code,{children:"E"}),", ",(0,t.jsx)(r.code,{children:"G"}),">(",(0,t.jsx)(r.code,{children:"context"}),", ",(0,t.jsx)(r.code,{children:"data"}),", ",(0,t.jsx)(r.code,{children:"settings"}),"): ",(0,t.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,t.jsxs)(r.p,{children:["Defined in: ",(0,t.jsx)(r.a,{href:"https://github.com/jacomyal/sigma.js/blob/d32c4e5bfd4c5f49724ebc21bd786b01be555dac/packages/node-square/src/utils.ts#L18",children:"node-square/src/utils.ts:18"})]}),"\n",(0,t.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"N"})," ",(0,t.jsx)(r.em,{children:"extends"})," ",(0,t.jsx)(r.code,{children:"Attributes"})," = ",(0,t.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"E"})," ",(0,t.jsx)(r.em,{children:"extends"})," ",(0,t.jsx)(r.code,{children:"Attributes"})," = ",(0,t.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,t.jsxs)(r.p,{children:["\u2022 ",(0,t.jsx)(r.strong,{children:"G"})," ",(0,t.jsx)(r.em,{children:"extends"})," ",(0,t.jsx)(r.code,{children:"Attributes"})," = ",(0,t.jsx)(r.code,{children:"Attributes"})]}),"\n",(0,t.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsx)(r.h3,{id:"context",children:"context"}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.code,{children:"CanvasRenderingContext2D"})}),"\n",(0,t.jsx)(r.h3,{id:"data",children:"data"}),"\n",(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.code,{children:"PartialButFor"}),"<",(0,t.jsx)(r.code,{children:"NodeDisplayData"}),", ",(0,t.jsx)(r.code,{children:'"label"'})," | ",(0,t.jsx)(r.code,{children:'"x"'})," | ",(0,t.jsx)(r.code,{children:'"y"'})," | ",(0,t.jsx)(r.code,{children:'"color"'})," | ",(0,t.jsx)(r.code,{children:'"size"'}),">"]}),"\n",(0,t.jsx)(r.h3,{id:"settings",children:"settings"}),"\n",(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.a,{href:"/docs/typedoc/sigma/src/settings/interfaces/Settings",children:(0,t.jsx)(r.code,{children:"Settings"})}),"<",(0,t.jsx)(r.code,{children:"N"}),", ",(0,t.jsx)(r.code,{children:"E"}),", ",(0,t.jsx)(r.code,{children:"G"}),">"]}),"\n",(0,t.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.code,{children:"void"})})]})}function u(e={}){const{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},1184:(e,r,s)=>{s.d(r,{R:()=>c,x:()=>o});var n=s(4041);const t={},d=n.createContext(t);function c(e){const r=n.useContext(d);return n.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),n.createElement(d.Provider,{value:r},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.