SYMBOL INDEX (596 symbols across 150 files) FILE: bin/create-package.ts function readJSONFile (line 8) | async function readJSONFile(filePath: string): Promise { function writeJSONFile (line 13) | async function writeJSONFile(filePath: string, data: unknown) { function prompt (line 17) | function prompt(question: string): Promise { function copyFolder (line 31) | async function copyFolder(src: string, dest: string) { function runCommand (line 49) | function runCommand(command: string, args: string[]): Promise { function createPackage (line 63) | async function createPackage() { FILE: packages/demo/src/canvas-utils.ts constant TEXT_COLOR (line 4) | const TEXT_COLOR = "#000000"; function drawRoundRect (line 10) | function drawRoundRect( function drawHover (line 34) | function drawHover(context: CanvasRenderingContext2D, data: PlainObject,... function drawLabel (line 95) | function drawLabel( FILE: packages/demo/src/types.ts type NodeData (line 1) | interface NodeData { type Cluster (line 11) | interface Cluster { type Tag (line 17) | interface Tag { type Dataset (line 22) | interface Dataset { type FiltersState (line 29) | interface FiltersState { FILE: packages/demo/src/use-debounce.ts function useDebounce (line 3) | function useDebounce(value: T, delay: number): T { FILE: packages/demo/src/views/GraphEventsController.tsx function getMouseLayer (line 4) | function getMouseLayer() { method clickNode (line 22) | clickNode({ node }) { method enterNode (line 27) | enterNode({ node }) { method leaveNode (line 33) | leaveNode() { FILE: packages/demo/src/views/GraphSettingsController.tsx constant NODE_FADE_COLOR (line 8) | const NODE_FADE_COLOR = "#bbb"; constant EDGE_FADE_COLOR (line 9) | const EDGE_FADE_COLOR = "#eee"; FILE: packages/demo/src/views/GraphTitle.tsx function prettyPercentage (line 6) | function prettyPercentage(val: number): string { FILE: packages/demo/src/views/Panel.tsx constant DURATION (line 5) | const DURATION = 300; FILE: packages/edge-curve/src/edge-labels.ts type Point (line 7) | interface Point { function getCurvePoint (line 12) | function getCurvePoint(t: number, p0: Point, p1: Point, p2: Point): Point { function getCurveLength (line 18) | function getCurveLength(p0: Point, p1: Point, p2: Point): number { function createDrawCurvedEdgeLabel (line 31) | function createDrawCurvedEdgeLabel< FILE: packages/edge-curve/src/factory.ts function createEdgeCurveProgram (line 13) | function createEdgeCurveProgram< FILE: packages/edge-curve/src/shader-frag.ts function getFragmentShader (line 3) | function getFragmentShader({ arrowHead }: CreateEdgeCurveProgramOptions) { FILE: packages/edge-curve/src/shader-vert.ts function getVertexShader (line 3) | function getVertexShader({ arrowHead }: CreateEdgeCurveProgramOptions) { FILE: packages/edge-curve/src/utils.ts constant DEFAULT_EDGE_CURVATURE (line 5) | const DEFAULT_EDGE_CURVATURE = 0.25; type CreateEdgeCurveProgramOptions (line 7) | type CreateEdgeCurveProgramOptions< constant DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS (line 24) | const DEFAULT_EDGE_CURVE_PROGRAM_OPTIONS: CreateEdgeCurveProgramOptions = { constant DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS (line 33) | const DEFAULT_INDEX_PARALLEL_EDGES_OPTIONS = { function indexParallelEdgesIndex (line 38) | function indexParallelEdgesIndex( FILE: packages/export-image/src/downloadAsImage.ts function downloadAsImage (line 11) | async function downloadAsImage(sigma: Sigma, opts: Partial = {}):... function toFile (line 32) | async function toFile(sigma: Sigma, opts: Partial = {}):... FILE: packages/layer-leaflet/src/index.ts function bindLeafletLayer (line 16) | function bindLeafletLayer( FILE: packages/layer-leaflet/src/utils.ts constant LEAFLET_MAX_PIXEL (line 4) | const LEAFLET_MAX_PIXEL = 256 * 2 ** 18; constant MAX_VALID_LATITUDE (line 5) | const MAX_VALID_LATITUDE = 85.051129; function getWorldPixelSize (line 9) | function getWorldPixelSize(map: Map) { function latlngToGraph (line 18) | function latlngToGraph(map: Map, coord: { lat: number; lng: number }): {... function graphToLatlng (line 30) | function graphToLatlng(map: Map, coords: { x: number; y: number }): { la... function syncSigmaWithMap (line 38) | function syncSigmaWithMap(sigma: Sigma, map: Map): void { function syncMapWithSigma (line 61) | function syncMapWithSigma(sigma: Sigma, map: Map, firstIteration = false... function setSigmaRatioBounds (line 92) | function setSigmaRatioBounds(sigma: Sigma, map: Map): void { FILE: packages/layer-maplibre/src/index.ts function bindMaplibreLayer (line 15) | function bindMaplibreLayer( FILE: packages/layer-maplibre/src/utils.ts constant MAX_VALID_LATITUDE (line 5) | const MAX_VALID_LATITUDE = 85.051129; function latlngToGraph (line 10) | function latlngToGraph(map: Map, coord: { lat: number; lng: number }): {... function graphToLatlng (line 22) | function graphToLatlng(map: Map, coords: { x: number; y: number }): { la... function syncSigmaWithMap (line 31) | function syncSigmaWithMap(sigma: Sigma, map: Map): void { function syncMapWithSigma (line 54) | function syncMapWithSigma(sigma: Sigma, map: Map): void { FILE: packages/layer-webgl/src/bind-webgl-layer.ts function bindWebGLLayer (line 8) | function bindWebGLLayer(id: string, renderer: Sigma, ProgramClass: WebGL... FILE: packages/layer-webgl/src/contours/index.ts function createContoursProgram (line 14) | function createContoursProgram< FILE: packages/layer-webgl/src/contours/shader-frag.ts function getFragmentShader (line 5) | function getFragmentShader({ FILE: packages/layer-webgl/src/contours/types.ts type ContoursOptions (line 1) | type ContoursOptions = { constant DEFAULT_CONTOURS_OPTIONS (line 15) | const DEFAULT_CONTOURS_OPTIONS: ContoursOptions = { FILE: packages/layer-webgl/src/webgl-layer-program/index.ts constant QUAD_VERTICES (line 8) | const QUAD_VERTICES = [-1, 1, 1, 1, -1, -1, 1, -1]; type WebGLLayerDefinition (line 10) | type WebGLLayerDefinition = { method constructor (line 34) | constructor( method getDefinition (line 44) | getDefinition(): ProgramDefinition { method hasNothingToRender (line 56) | hasNothingToRender() { method setUniforms (line 59) | setUniforms(params: RenderParams, programInfo: ProgramInfo) { method bindProgram (line 62) | protected bindProgram(program: ProgramInfo): void { class _WebGLLayerProgramClass (line 73) | class _WebGLLayerProgramClass< method getCustomLayerDefinition (line 78) | getCustomLayerDefinition(): WebGLLayerDefinition { method setCameraUniforms (line 85) | setCameraUniforms(_params: RenderParams, _programInfo: ProgramInfo): v... method cacheDataUniforms (line 88) | cacheDataUniforms(_programInfo: ProgramInfo): void { type WebGLLayerProgramType (line 92) | type WebGLLayerProgramType< FILE: packages/layer-webgl/src/webgl-layer-program/shader-vert.ts function getVertexShader (line 1) | function getVertexShader() { FILE: packages/node-border/src/factory.ts function createNodeBorderProgram (line 12) | function createNodeBorderProgram< FILE: packages/node-border/src/shader-frag.ts function getFragmentShader (line 5) | function getFragmentShader({ borders }: CreateNodeBorderProgramOptions) { FILE: packages/node-border/src/shader-vert.ts function getVertexShader (line 3) | function getVertexShader({ borders }: CreateNodeBorderProgramOptions) { FILE: packages/node-border/src/utils.ts type NodeBorderSizeMode (line 4) | type NodeBorderSizeMode = "relative" | "pixels"; constant DEFAULT_BORDER_SIZE_MODE (line 5) | const DEFAULT_BORDER_SIZE_MODE: NodeBorderSizeMode = "relative"; type NodeBorderColor (line 7) | type NodeBorderColor = { value: string } | { attribute: string; defaultV... type NodeBorderSize (line 8) | type NodeBorderSize = type CreateNodeBorderProgramOptions (line 12) | interface CreateNodeBorderProgramOptions< constant DEFAULT_CREATE_NODE_BORDER_OPTIONS (line 26) | const DEFAULT_CREATE_NODE_BORDER_OPTIONS: CreateNodeBorderProgramOptions... constant DEFAULT_COLOR (line 35) | const DEFAULT_COLOR = "#000000"; FILE: packages/node-image/src/factory.ts type CreateNodeImageProgramOptions (line 19) | interface CreateNodeImageProgramOptions< constant DEFAULT_CREATE_NODE_IMAGE_OPTIONS (line 41) | const DEFAULT_CREATE_NODE_IMAGE_OPTIONS: CreateNodeImageProgramOptions = {}) { method scheduleGenerateTexture (line 416) | private scheduleGenerateTexture() { method generateTextures (line 428) | private generateTextures() { method registerImage (line 443) | async registerImage(source: string) { method getAtlas (line 466) | getAtlas(): Atlas { method getTextures (line 469) | getTextures(): ImageData[] { FILE: packages/node-piechart/src/factory.ts function createNodePiechartProgram (line 12) | function createNodePiechartProgram< FILE: packages/node-piechart/src/shader-frag.ts function getFragmentShader (line 5) | function getFragmentShader({ slices, offset }: CreateNodePiechartProgram... FILE: packages/node-piechart/src/shader-vert.ts function getVertexShader (line 3) | function getVertexShader({ slices, offset }: CreateNodePiechartProgramOp... FILE: packages/node-piechart/src/utils.ts type NodeSliceColor (line 5) | type NodeSliceColor = { value: string } | { attribute: string; defaultVa... type NodeSliceValue (line 6) | type NodeSliceValue = { value: number } | { attribute: string }; type CreateNodePiechartProgramOptions (line 8) | interface CreateNodePiechartProgramOptions< constant DEFAULT_COLOR (line 24) | const DEFAULT_COLOR = "#000000"; constant DEFAULT_CREATE_NODE_PIECHART_OPTIONS (line 26) | const DEFAULT_CREATE_NODE_PIECHART_OPTIONS: Omit implements CameraSt... method constructor (line 45) | constructor() { method from (line 55) | static from(state: CameraState): Camera { method enable (line 63) | enable(): this { method disable (line 71) | disable(): this { method getState (line 79) | getState(): CameraState { method hasState (line 91) | hasState(state: CameraState): boolean { method getPreviousState (line 98) | getPreviousState(): CameraState | null { method getBoundedRatio (line 114) | getBoundedRatio(ratio: number): number { method validateState (line 124) | validateState(state: Partial): Partial { method isAnimated (line 137) | isAnimated(): boolean { method setState (line 144) | setState(state: Partial): this { method updateState (line 165) | updateState(updater: (state: CameraState) => Partial): th... method animate (line 175) | animate( method animatedZoom (line 244) | animatedZoom(factorOrOptions?: number | (Partial & { f... method animatedUnzoom (line 260) | animatedUnzoom(factorOrOptions?: number | (Partial & {... method animatedReset (line 276) | animatedReset(options?: Partial): Promise { method copy (line 291) | copy(): Camera { FILE: packages/sigma/src/core/captors/captor.ts function getPosition (line 26) | function getPosition(e: MouseEvent | Touch, dom: HTMLElement): Coordinat... function getMouseCoords (line 42) | function getMouseCoords(e: MouseEvent, dom: HTMLElement): MouseCoords { function cleanMouseCoords (line 58) | function cleanMouseCoords(e: MouseCoords | TouchCoords): MouseCoords { function getWheelCoords (line 82) | function getWheelCoords(e: WheelEvent, dom: HTMLElement): WheelCoords { constant MAX_TOUCHES (line 89) | const MAX_TOUCHES = 2; function getTouchesArray (line 90) | function getTouchesArray(touches: TouchList): Touch[] { function getTouchCoords (line 104) | function getTouchCoords(e: TouchEvent, previousTouches: Touch[], dom: HT... function getWheelDelta (line 124) | function getWheelDelta(e: WheelEvent): number { method constructor (line 145) | constructor(container: HTMLElement, renderer: Sigma) { FILE: packages/sigma/src/core/captors/mouse.ts constant MOUSE_SETTINGS_KEYS (line 15) | const MOUSE_SETTINGS_KEYS = [ type MouseSettingKey (line 27) | type MouseSettingKey = (typeof MOUSE_SETTINGS_KEYS)[number]; type MouseSettings (line 28) | type MouseSettings = Pick; constant DEFAULT_MOUSE_SETTINGS (line 29) | const DEFAULT_MOUSE_SETTINGS = MOUSE_SETTINGS_KEYS.reduce( type MouseCaptorEvents (line 37) | type MouseCaptorEvents = { class MouseCaptor (line 55) | class MouseCaptor< method constructor (line 78) | constructor(container: HTMLElement, renderer: Sigma) { method kill (line 103) | kill(): void { method handleClick (line 117) | handleClick(e: MouseEvent): void { method handleRightClick (line 141) | handleRightClick(e: MouseEvent): void { method handleDoubleClick (line 147) | handleDoubleClick(e: MouseEvent): void { method handleDown (line 168) | handleDown(e: MouseEvent): void { method handleUp (line 188) | handleUp(e: MouseEvent): void { method handleMove (line 238) | handleMove(e: MouseEvent): void { method handleLeave (line 301) | handleLeave(e: MouseEvent): void { method handleEnter (line 305) | handleEnter(e: MouseEvent): void { method handleWheel (line 309) | handleWheel(e: WheelEvent): void { method setSettings (line 363) | setSettings(settings: MouseSettings): void { FILE: packages/sigma/src/core/captors/touch.ts constant TOUCH_SETTINGS_KEYS (line 15) | const TOUCH_SETTINGS_KEYS = [ type TouchSettingKey (line 25) | type TouchSettingKey = (typeof TOUCH_SETTINGS_KEYS)[number]; type TouchSettings (line 26) | type TouchSettings = Pick; constant DEFAULT_TOUCH_SETTINGS (line 27) | const DEFAULT_TOUCH_SETTINGS = TOUCH_SETTINGS_KEYS.reduce( type TouchCaptorEventType (line 35) | type TouchCaptorEventType = "touchdown" | "touchup" | "touchmove" | "tou... type TouchCaptorEvents (line 36) | type TouchCaptorEvents = Record) { method kill (line 79) | kill(): void { method getDimensions (line 88) | getDimensions(): Dimensions { method handleStart (line 95) | handleStart(e: TouchEvent): void { method handleLeave (line 118) | handleLeave(e: TouchEvent): void { method handleMove (line 201) | handleMove(e: TouchEvent): void { method setSettings (line 321) | setSettings(settings: TouchSettings): void { FILE: packages/sigma/src/core/labels.ts class LabelCandidate (line 18) | class LabelCandidate { method constructor (line 22) | constructor(key: string, size: number) { method compare (line 27) | static compare(first: LabelCandidate, second: LabelCandidate): number { class LabelGrid (line 44) | class LabelGrid { method resizeAndClear (line 52) | resizeAndClear(dimensions: Dimensions, cellSize: number): void { method getIndex (line 64) | private getIndex(pos: Coordinates): number { method add (line 71) | add(key: string, size: number, pos: Coordinates): void { method organize (line 85) | organize(): void { method getLabelsToDisplay (line 92) | getLabelsToDisplay(ratio: number, density: number): Array { function edgeLabelsToDisplayFromNodes (line 128) | function edgeLabelsToDisplayFromNodes(params: { FILE: packages/sigma/src/index-bundle.ts class Sigma (line 21) | class Sigma extends SigmaClass { FILE: packages/sigma/src/rendering/edge-labels.ts type EdgeLabelDrawingFunction (line 6) | type EdgeLabelDrawingFunction< function drawStraightEdgeLabel (line 18) | function drawStraightEdgeLabel< FILE: packages/sigma/src/rendering/edge.ts method kill (line 42) | kill(): void { method process (line 46) | process( class _EdgeProgramClass (line 74) | class _EdgeProgramClass< method constructor (line 80) | constructor(_gl: WebGLRenderingContext, _pickingBuffer: WebGLFramebuff... method kill (line 86) | kill(): void { method reallocate (line 89) | reallocate(_capacity: number): void { method process (line 92) | process( method render (line 101) | render(_params: RenderParams): void { type EdgeProgramType (line 105) | type EdgeProgramType< function createEdgeCompoundProgram (line 120) | function createEdgeCompoundProgram< FILE: packages/sigma/src/rendering/node-hover.ts type NodeHoverDrawingFunction (line 7) | type NodeHoverDrawingFunction< function drawDiscNodeHover (line 23) | function drawDiscNodeHover< FILE: packages/sigma/src/rendering/node-labels.ts type NodeLabelDrawingFunction (line 6) | type NodeLabelDrawingFunction< function drawDiscNodeLabel (line 16) | function drawDiscNodeLabel< FILE: packages/sigma/src/rendering/node.ts method kill (line 38) | kill(): void { method process (line 42) | process(nodeIndex: number, offset: number, data: NodeDisplayData): void { class _NodeProgramClass (line 58) | class _NodeProgramClass< method constructor (line 64) | constructor(_gl: WebGLRenderingContext, _pickingBuffer: WebGLFramebuff... method kill (line 70) | kill(): void { method reallocate (line 73) | reallocate(_capacity: number): void { method process (line 76) | process(_nodeIndex: number, _offset: number, _data: NodeDisplayData): ... method render (line 79) | render(_params: RenderParams): void { type NodeProgramType (line 83) | type NodeProgramType< function createNodeCompoundProgram (line 99) | function createNodeCompoundProgram< FILE: packages/sigma/src/rendering/program.ts constant PICKING_PREFIX (line 24) | const PICKING_PREFIX = `#define PICKING_MODE\n`; constant SIZE_FACTOR_PER_ATTRIBUTE_TYPE (line 26) | const SIZE_FACTOR_PER_ATTRIBUTE_TYPE: Record = { method constructor (line 42) | constructor(_gl: WebGLRenderingContext, _pickGl: WebGLRenderingContext, ... method constructor (line 81) | constructor( method kill (line 141) | kill() { method getProgramInfo (line 150) | protected getProgramInfo( method bindProgram (line 206) | protected bindProgram(program: ProgramInfo): void { method unbindProgram (line 235) | protected unbindProgram(program: ProgramInfo): void { method bindAttribute (line 244) | protected bindAttribute( method unbindAttribute (line 279) | protected unbindAttribute(attr: ProgramAttributeSpecification, program: ... method reallocate (line 297) | reallocate(capacity: number): void { method hasNothingToRender (line 312) | hasNothingToRender(): boolean { method renderProgram (line 318) | protected renderProgram(params: RenderParams, programInfo: ProgramInfo):... method render (line 334) | render(params: RenderParams): void { method drawWebGL (line 355) | drawWebGL(method: number /* GLenum */, { gl, frameBuffer }: ProgramInfo)... class _ProgramClass (line 371) | class _ProgramClass< method getDefinition (line 377) | getDefinition(): ProgramDefinition | InstancedProgramDefiniti... method setUniforms (line 380) | setUniforms(_params: RenderParams, _programInfo: ProgramInfo) { type ProgramType (line 384) | type ProgramType< FILE: packages/sigma/src/rendering/programs/edge-arrow-head/frag.glsl.ts constant SHADER_SOURCE (line 2) | const SHADER_SOURCE = /*glsl*/ ` FILE: packages/sigma/src/rendering/programs/edge-arrow-head/index.ts constant UNIFORMS (line 12) | const UNIFORMS = [ type CreateEdgeArrowHeadProgramOptions (line 21) | type CreateEdgeArrowHeadProgramOptions = { constant DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS (line 27) | const DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS: CreateEdgeArrowHeadProgra... function createEdgeArrowHeadProgram (line 33) | function createEdgeArrowHeadProgram< FILE: packages/sigma/src/rendering/programs/edge-arrow-head/vert.glsl.ts constant SHADER_SOURCE (line 2) | const SHADER_SOURCE = /*glsl*/ ` FILE: packages/sigma/src/rendering/programs/edge-arrow/index.ts function createEdgeArrowProgram (line 7) | function createEdgeArrowProgram< FILE: packages/sigma/src/rendering/programs/edge-clamped/index.ts constant UNIFORMS (line 13) | const UNIFORMS = [ type CreateEdgeClampedProgramOptions (line 24) | type CreateEdgeClampedProgramOptions = Pick { type ProgramAttributeSpecification (line 24) | interface ProgramAttributeSpecification { type ProgramDefinition (line 31) | interface ProgramDefinition { type InstancedProgramDefinition (line 40) | interface InstancedProgramDefinition ex... function loadShader (line 45) | function loadShader(type: string, gl: WebGLRenderingContext, source: str... function loadVertexShader (line 74) | function loadVertexShader(gl: WebGLRenderingContext, source: string): We... function loadFragmentShader (line 77) | function loadFragmentShader(gl: WebGLRenderingContext, source: string): ... function loadProgram (line 84) | function loadProgram(gl: WebGLRenderingContext, shaders: Array = { constant DEFAULT_NODE_PROGRAM_CLASSES (line 183) | const DEFAULT_NODE_PROGRAM_CLASSES: Record = { constant DEFAULT_EDGE_PROGRAM_CLASSES (line 187) | const DEFAULT_EDGE_PROGRAM_CLASSES: Record = { function validateSettings (line 192) | function validateSettings< function resolveSettings (line 209) | function resolveSettings< FILE: packages/sigma/src/sigma.ts constant X_LABEL_MARGIN (line 52) | const X_LABEL_MARGIN = 150; constant Y_LABEL_MARGIN (line 53) | const Y_LABEL_MARGIN = 50; function applyNodeDefaults (line 59) | function applyNodeDefaults< function applyEdgeDefaults (line 91) | function applyEdgeDefaults< class Sigma (line 121) | class Sigma< method constructor (line 192) | constructor(graph: Graph, container: HTMLElement, settings: P... method registerNodeProgram (line 270) | private registerNodeProgram( method registerEdgeProgram (line 289) | private registerEdgeProgram(key: string, EdgeProgramClass: EdgeProgram... method unregisterNodeProgram (line 301) | private unregisterNodeProgram(key: string): this { method unregisterEdgeProgram (line 321) | private unregisterEdgeProgram(key: string): this { method resetWebGLTexture (line 335) | private resetWebGLTexture(id: string): this { method bindCameraHandlers (line 358) | private bindCameraHandlers(): this { method unbindCameraHandlers (line 373) | private unbindCameraHandlers(): this { method getNodeAtPosition (line 381) | private getNodeAtPosition(position: Coordinates): string | null { method bindEventHandlers (line 402) | private bindEventHandlers(): this { method bindGraphHandlers (line 569) | private bindGraphHandlers(): this { method unbindGraphHandlers (line 684) | private unbindGraphHandlers() { method getEdgeAtPoint (line 703) | private getEdgeAtPoint(x: number, y: number): string | null { method process (line 727) | private process(): this { method handleSettingsUpdate (line 876) | private handleSettingsUpdate(oldSettings?: Settings): this { method cleanCameraState (line 936) | private cleanCameraState( method renderLabels (line 1008) | private renderLabels(): this { method renderEdgeLabels (line 1091) | private renderEdgeLabels(): this { method renderHighlightedNodes (line 1162) | private renderHighlightedNodes(): void { method scheduleHighlightedNodesRender (line 1239) | private scheduleHighlightedNodesRender(): void { method render (line 1257) | private render(): this { method addNode (line 1347) | private addNode(key: string): void { method updateNode (line 1384) | private updateNode(key: string): void { method removeNode (line 1397) | private removeNode(key: string): void { method addEdge (line 1415) | private addEdge(key: string): void { method updateEdge (line 1445) | private updateEdge(key: string): void { method removeEdge (line 1454) | private removeEdge(key: string): void { method clearNodeIndices (line 1469) | private clearNodeIndices(): void { method clearEdgeIndices (line 1484) | private clearEdgeIndices(): void { method clearIndices (line 1495) | private clearIndices(): void { method clearNodeState (line 1504) | private clearNodeState(): void { method clearEdgeState (line 1514) | private clearEdgeState(): void { method clearState (line 1524) | private clearState(): void { method addNodeToProgram (line 1536) | private addNodeToProgram(node: string, fingerprint: number, position: ... method addEdgeToProgram (line 1552) | private addEdgeToProgram(edge: string, fingerprint: number, position: ... method getRenderParams (line 1574) | getRenderParams(): RenderParams { method getStagePadding (line 1596) | getStagePadding(): number { method createLayer (line 1609) | createLayer( method createCanvas (line 1648) | createCanvas( method createCanvasContext (line 1662) | createCanvasContext(id: string, options: { style?: Partial { method setGraph (line 1799) | setGraph(graph: Graph): void { method getMouseCaptor (line 1829) | getMouseCaptor(): MouseCaptor { method getTouchCaptor (line 1838) | getTouchCaptor(): TouchCaptor { method getDimensions (line 1847) | getDimensions(): Dimensions { method getGraphDimensions (line 1856) | getGraphDimensions(): Dimensions { method getNodeDisplayData (line 1873) | getNodeDisplayData(key: unknown): NodeDisplayData | undefined { method getEdgeDisplayData (line 1885) | getEdgeDisplayData(key: unknown): EdgeDisplayData | undefined { method getNodeDisplayedLabels (line 1895) | getNodeDisplayedLabels(): Set { method getEdgeDisplayedLabels (line 1904) | getEdgeDisplayedLabels(): Set { method getSettings (line 1913) | getSettings(): Settings { method getSetting (line 1923) | getSetting>(key: K): Settings>(key: K, value: Settings<... method updateSetting (line 1952) | updateSetting>( method setSettings (line 1966) | setSettings(settings: Partial>): this { method resize (line 1981) | resize(force?: boolean): this { method clear (line 2049) | clear(): this { method refresh (line 2074) | refresh(opts?: { method scheduleRender (line 2135) | scheduleRender(): this { method scheduleRefresh (line 2153) | scheduleRefresh(opts?: { partialGraph?: { nodes?: string[]; edges?: st... method getViewportZoomedState (line 2165) | getViewportZoomedState(viewportTarget: Coordinates, newRatio: number):... method viewRectangle (line 2195) | viewRectangle(): { method framedGraphToViewport (line 2222) | framedGraphToViewport(coordinates: Coordinates, override: CoordinateCo... method viewportToFramedGraph (line 2250) | viewportToFramedGraph(coordinates: Coordinates, override: CoordinateCo... method viewportToGraph (line 2285) | viewportToGraph(viewportPoint: Coordinates, override: CoordinateConver... method graphToViewport (line 2299) | graphToViewport(graphPoint: Coordinates, override: CoordinateConversio... method getGraphToViewportRatio (line 2307) | getGraphToViewportRatio(): number { method getBBox (line 2324) | getBBox(): { x: Extent; y: Extent } { method getCustomBBox (line 2333) | getCustomBBox(): { x: Extent; y: Extent } | null { method setCustomBBox (line 2342) | setCustomBBox(customBBox: { x: Extent; y: Extent } | null): this { method kill (line 2353) | kill(): void { method scaleSize (line 2429) | scaleSize(size = 1, cameraRatio = this.camera.ratio): number { method getCanvases (line 2450) | getCanvases(): PlainObject { FILE: packages/sigma/src/types.ts type PlainObject (line 15) | type PlainObject = { [k: string]: T }; type PartialButFor (line 22) | type PartialButFor = Pick & Partial }> = Partial & U[... type NonEmptyArray (line 29) | type NonEmptyArray = [T, ...T[]]; type Coordinates (line 31) | interface Coordinates { type CameraState (line 36) | interface CameraState extends Coordinates { type MouseInteraction (line 41) | type MouseInteraction = "click" | "doubleClick" | "rightClick" | "wheel"... type MouseCoords (line 43) | interface MouseCoords extends Coordinates { type WheelCoords (line 49) | interface WheelCoords extends MouseCoords { type TouchCoords (line 53) | interface TouchCoords { type Dimensions (line 61) | interface Dimensions { type Extent (line 66) | type Extent = [number, number]; type DisplayData (line 68) | interface DisplayData { type NodeDisplayData (line 78) | interface NodeDisplayData extends Coordinates, DisplayData { type EdgeDisplayData (line 81) | type EdgeDisplayData = DisplayData; type CoordinateConversionOverride (line 83) | type CoordinateConversionOverride = { type RenderParams (line 91) | interface RenderParams { type Listener (line 110) | type Listener = (...args: any[]) => void; type EventsMapping (line 111) | type EventsMapping = Record; type ITypedEventEmitter (line 113) | interface ITypedEventEmitter { class TypedEventEmitter (line 133) | class TypedEventEmitter extends (EventEmit... method constructor (line 136) | constructor() { type SigmaEventPayload (line 145) | interface SigmaEventPayload { type SigmaStageEventPayload (line 150) | type SigmaStageEventPayload = SigmaEventPayload; type SigmaNodeEventPayload (line 151) | interface SigmaNodeEventPayload extends SigmaEventPayload { type SigmaEdgeEventPayload (line 154) | interface SigmaEdgeEventPayload extends SigmaEventPayload { type SigmaStageEvents (line 158) | type SigmaStageEvents = { type SigmaNodeEvents (line 162) | type SigmaNodeEvents = { type SigmaEdgeEvents (line 166) | type SigmaEdgeEvents = { type SigmaAdditionalEvents (line 170) | type SigmaAdditionalEvents = { type SigmaEvents (line 184) | type SigmaEvents = SigmaStageEvents & SigmaNodeEvents & SigmaEdgeEvents ... type SigmaEventType (line 185) | type SigmaEventType = keyof SigmaEvents; FILE: packages/sigma/src/utils/animate.ts type Easing (line 9) | type Easing = keyof typeof easings | ((k: number) => number); type AnimateOptions (line 11) | interface AnimateOptions { constant ANIMATE_DEFAULTS (line 15) | const ANIMATE_DEFAULTS = { function animateNodes (line 23) | function animateNodes( FILE: packages/sigma/src/utils/colors.ts constant HTML_COLORS (line 1) | const HTML_COLORS: Record = { function extractPixel (line 155) | function extractPixel(gl: WebGLRenderingContext, x: number, y: number, a... constant INT8 (line 167) | const INT8 = new Int8Array(4); constant INT32 (line 168) | const INT32 = new Int32Array(INT8.buffer, 0, 1); constant FLOAT32 (line 169) | const FLOAT32 = new Float32Array(INT8.buffer, 0, 1); constant RGBA_TEST_REGEX (line 171) | const RGBA_TEST_REGEX = /^\s*rgba?\s*\(/; constant RGBA_EXTRACT_REGEX (line 172) | const RGBA_EXTRACT_REGEX = /^\s*rgba?\s*\(\s*([0-9]*)\s*,\s*([0-9]*)\s*,... type RGBAColor (line 174) | type RGBAColor = { r: number; g: number; b: number; a: number }; function parseColor (line 176) | function parseColor(val: string): RGBAColor { constant FLOAT_COLOR_CACHE (line 213) | const FLOAT_COLOR_CACHE: { [key: string]: number } = {}; function rgbaToFloat (line 220) | function rgbaToFloat(r: number, g: number, b: number, a: number, masking... function floatColor (line 225) | function floatColor(val: string): number { function colorToArray (line 243) | function colorToArray(val: string, masking?: boolean): [number, number, ... constant FLOAT_INDEX_CACHE (line 259) | const FLOAT_INDEX_CACHE: { [key: number]: number } = {}; function indexToColor (line 260) | function indexToColor(index: number): number { function colorToIndex (line 283) | function colorToIndex(r: number, g: number, b: number, _a: number): numb... function getPixelColor (line 292) | function getPixelColor( FILE: packages/sigma/src/utils/coordinates.ts function getCorrectionRatio (line 12) | function getCorrectionRatio( function matrixFromCamera (line 34) | function matrixFromCamera( function getMatrixImpact (line 98) | function getMatrixImpact( FILE: packages/sigma/src/utils/data.ts function extend (line 4) | function extend(array: T[], values: Set): void { function isPlainObject (line 23) | function isPlainObject(value: unknown): boolean { function assign (line 30) | function assign(target: Partial | undefined, ...objects: Array(target: Partial | undefined, ...objects: Array... FILE: packages/sigma/src/utils/graph.ts function graphExtent (line 9) | function graphExtent(graph: Graph): { x: Extent; y: Extent } { function validateGraph (line 33) | function validateGraph(graph: Graph): void { FILE: packages/sigma/src/utils/matrices.ts function identity (line 3) | function identity(): Float32Array { function scale (line 8) | function scale(m: Float32Array, x: number, y?: number): Float32Array { function rotate (line 15) | function rotate(m: Float32Array, r: number): Float32Array { function translate (line 27) | function translate(m: Float32Array, x: number, y: number): Float32Array { function multiply (line 34) | function multiply(a: T, b: Float32Arr... function multiplyVec2 (line 70) | function multiplyVec2(a: Float32Array | number[], b: Coordinates, z = 1)... FILE: packages/sigma/src/utils/misc.ts function createElement (line 6) | function createElement( function getPixelRatio (line 31) | function getPixelRatio(): number { function zIndexOrdering (line 41) | function zIndexOrdering(_extent: Extent, getter: (e: T) => number, el... FILE: packages/sigma/src/utils/normalization.ts type NormalizationFunction (line 6) | interface NormalizationFunction { function createNormalizationFunction (line 12) | function createNormalizationFunction(extent: { x: Extent; y: Extent }): ... FILE: packages/storybook/.storybook/main.ts method viteFinal (line 22) | async viteFinal(config) { function getAbsolutePath (line 32) | function getAbsolutePath(value: string) { FILE: packages/storybook/.storybook/manager.tsx method renderLabel (line 15) | renderLabel(item) { FILE: packages/storybook/stories/1-core-features/1-load-gexf-file/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/1-core-features/2-events/index.ts function logEvent (line 17) | function logEvent(event: string, itemType: "node" | "edge" | "positions"... method edgeReducer (line 47) | edgeReducer(edge, data) { FILE: packages/storybook/stories/1-core-features/2-events/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/1-core-features/3-layouts/index.ts function stopFA2 (line 46) | function stopFA2() { function startFA2 (line 51) | function startFA2() { function toggleFA2Layout (line 59) | function toggleFA2Layout() { function randomLayout (line 73) | function randomLayout() { function circularLayout (line 104) | function circularLayout() { FILE: packages/storybook/stories/1-core-features/3-layouts/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/1-core-features/4-use-reducers/index.ts type State (line 24) | interface State { function setSearchQuery (line 44) | function setSearchQuery(query: string) { function setHoveredNode (line 89) | function setHoveredNode(node?: string) { FILE: packages/storybook/stories/1-core-features/4-use-reducers/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/1-core-features/5-custom-rendering/node-gradient-frag.glsl.ts constant SHADER_SOURCE (line 2) | const SHADER_SOURCE = /*glsl*/ ` FILE: packages/storybook/stories/1-core-features/5-custom-rendering/node-gradient-vert.glsl.ts constant SHADER_SOURCE (line 2) | const SHADER_SOURCE = /*glsl*/ ` FILE: packages/storybook/stories/1-core-features/5-custom-rendering/node-gradient.ts constant UNIFORMS (line 10) | const UNIFORMS = ["u_sizeRatio", "u_pixelRatio", "u_matrix"] as const; class NodeGradientProgram (line 12) | class NodeGradientProgram extends NodeProgram<(typeof UNIFORMS)[number]> { method getDefinition (line 13) | getDefinition() { method processVisibleItem (line 29) | processVisibleItem(nodeIndex: number, startIndex: number, data: NodeDi... method setUniforms (line 39) | setUniforms(params: RenderParams, { gl, uniformLocations }: ProgramInf... FILE: packages/storybook/stories/1-core-features/5-custom-rendering/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/1-core-features/6-csv-to-network-map/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/1-core-features/7-camera-control/index.ts function initGraph (line 10) | async function initGraph() { FILE: packages/storybook/stories/1-core-features/7-camera-control/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/2-advanced-usecases/cluster-label/index.ts type Cluster (line 18) | interface Cluster { FILE: packages/storybook/stories/2-advanced-usecases/cluster-label/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/2-advanced-usecases/events-shadowdom/index.ts function logEvent (line 12) | function logEvent(event: string, itemType: "node" | "edge" | "positions"... method constructor (line 44) | constructor() { method connectedCallback (line 48) | connectedCallback() { FILE: packages/storybook/stories/2-advanced-usecases/events-shadowdom/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/2-advanced-usecases/fit-sizes-to-positions/index.ts function refreshSettings (line 76) | function refreshSettings() { FILE: packages/storybook/stories/2-advanced-usecases/fit-sizes-to-positions/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/2-advanced-usecases/large-graphs/index.ts constant DEFAULT_ARGS (line 13) | const DEFAULT_ARGS = { function toggleFA2Layout (line 81) | function toggleFA2Layout() { FILE: packages/storybook/stories/2-advanced-usecases/large-graphs/stories.ts type StoryArgs (line 8) | type StoryArgs = { type Story (line 46) | type Story = StoryObj; FILE: packages/storybook/stories/2-advanced-usecases/load-rdf-file/index.ts function parseJsonLdExtended (line 21) | function parseJsonLdExtended(item: NodeObject, graph: Graph): string { function stopFA2 (line 76) | function stopFA2() { function startFA2 (line 81) | function startFA2() { function toggleFA2Layout (line 89) | function toggleFA2Layout() { FILE: packages/storybook/stories/2-advanced-usecases/load-rdf-file/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/2-advanced-usecases/mouse-manipulations/stories.ts type Story (line 14) | type Story = StoryObj; FILE: packages/storybook/stories/3-additional-packages/edge-curve/parallel-edges.ts function getCurvature (line 6) | function getCurvature(index: number, maxIndex: number): number { FILE: packages/storybook/stories/3-additional-packages/edge-curve/stories.ts type Story (line 22) | type Story = StoryObj; FILE: packages/storybook/stories/3-additional-packages/export-image/stories.ts type Story (line 16) | type Story = StoryObj; FILE: packages/storybook/stories/3-additional-packages/layer-leaflet/stories.ts type Story (line 20) | type Story = StoryObj; FILE: packages/storybook/stories/3-additional-packages/layer-maplibre/stories.ts type Story (line 18) | type Story = StoryObj; FILE: packages/storybook/stories/3-additional-packages/layer-webgl/stories.ts type Story (line 18) | type Story = StoryObj; FILE: packages/storybook/stories/3-additional-packages/node-border/stories.ts type Story (line 20) | type Story = StoryObj; FILE: packages/storybook/stories/3-additional-packages/node-image/local-images.ts constant STRING_SVG_ICON (line 14) | const STRING_SVG_ICON = ` void) { function wrapStory (line 14) | function wrapStory(story: () => void | (() => void)) { FILE: packages/template/src/index.ts function template (line 1) | function template() { FILE: packages/test/app/index.ts function executeAndRequestFrame (line 25) | function executeAndRequestFrame() { function globalize (line 47) | function globalize(variables: Record): void { FILE: packages/test/benchmarks/suite.bench.ts constant ITERATIONS (line 10) | const ITERATIONS = 20; constant METHODS (line 11) | const METHODS = ["refresh", "render"] as const; constant SIZES (line 12) | const SIZES = ["small", "medium", "large"] as const; type Size (line 13) | type Size = (typeof SIZES)[number]; constant SCREEN_SIZES (line 15) | const SCREEN_SIZES: Record = { constant GRAPHS (line 20) | const GRAPHS = { FILE: packages/test/helpers.ts function rafNTimes (line 5) | function rafNTimes(fn: (step: number) => void, n: number): Promise { type BrowserTestDependencies (line 24) | type BrowserTestDependencies = { FILE: packages/test/unit/_helpers.ts function wait (line 4) | function wait(timeout: number): Promise { function add (line 8) | function add(p: T, vec: Coordinates): T { function remove (line 16) | function remove(p: T, vec: Coordinates): T { function rotate (line 24) | function rotate(p: T, { x: cx, y: cy }: Coordinat... function expectObjectsToBeClose (line 35) | function expectObjectsToBeClose>(o1: T,... type TouchSpec (line 43) | type TouchSpec = Coordinates & { id: number }; type TouchEventType (line 44) | type TouchEventType = "touchstart" | "touchend" | "touchmove"; function simulateTouchEvent (line 45) | async function simulateTouchEvent(element: HTMLElement, type: TouchEvent... type MouseEventType (line 71) | type MouseEventType = "mousedown" | "mouseup" | "mousemove"; function simulateMouseEvent (line 72) | async function simulateMouseEvent(element: HTMLElement, type: MouseEvent... FILE: packages/test/unit/layer-leaflet/lifecycle.ts constant GRAPH (line 8) | const GRAPH: Pick = { type SigmaTestContext (line 16) | interface SigmaTestContext { FILE: packages/test/unit/layer-maplibre/lifecycle.ts constant GRAPH (line 8) | const GRAPH: Pick = { type SigmaTestContext (line 16) | interface SigmaTestContext { FILE: packages/test/unit/sigma/events.ts type SigmaTestContext (line 11) | interface SigmaTestContext { constant STAGE_WIDTH (line 18) | const STAGE_WIDTH = 300; constant STAGE_HEIGHT (line 19) | const STAGE_HEIGHT = 600; constant GRAPH (line 21) | const GRAPH: Pick = { FILE: packages/test/unit/sigma/lifecycle.ts type SigmaTestContext (line 7) | interface SigmaTestContext { FILE: packages/test/unit/sigma/mouse.ts type SigmaTestContext (line 11) | interface SigmaTestContext { constant STAGE_WIDTH (line 17) | const STAGE_WIDTH = 200; constant STAGE_HEIGHT (line 18) | const STAGE_HEIGHT = 400; constant GRAPH (line 20) | const GRAPH: Pick = { FILE: packages/test/unit/sigma/settings.ts type SigmaTestContext (line 7) | interface SigmaTestContext { FILE: packages/test/unit/sigma/touch.ts type SigmaTestContext (line 9) | interface SigmaTestContext { constant STAGE_WIDTH (line 16) | const STAGE_WIDTH = 200; constant STAGE_HEIGHT (line 17) | const STAGE_HEIGHT = 400; constant ID_A (line 18) | const ID_A = 1; constant ID_B (line 19) | const ID_B = 2; constant T_A (line 20) | const T_A = { id: ID_A, x: STAGE_WIDTH / 3, y: STAGE_HEIGHT / 3 }; constant T_B (line 21) | const T_B = { id: ID_B, x: (STAGE_WIDTH * 2) / 3, y: (STAGE_HEIGHT * 2) ... constant GRAPH (line 23) | const GRAPH: Pick = { FILE: packages/test/unit/utils/fitViewportToNodes.ts constant GRAPH (line 9) | const GRAPH: Pick = { type SigmaTestContext (line 24) | interface SigmaTestContext { FILE: packages/utils/src/fitViewportToNodes.ts type FitViewportToNodesOptions (line 5) | type FitViewportToNodesOptions = { constant DEFAULT_FIT_VIEWPORT_TO_NODES_OPTIONS (line 8) | const DEFAULT_FIT_VIEWPORT_TO_NODES_OPTIONS: FitViewportToNodesOptions = { function getCameraStateToFitViewportToNodes (line 20) | function getCameraStateToFitViewportToNodes( function fitViewportToNodes (line 87) | async function fitViewportToNodes( FILE: packages/utils/src/getNodesInViewport.ts function getNodesInViewport (line 9) | function getNodesInViewport(sigma: Sigma): string[] { FILE: packages/website/docusaurus.config.js constant TAGLINE (line 4) | const TAGLINE = "a JavaScript library aimed at visualizing graphs of tho... FILE: packages/website/src/theme/Footer/index.js function Footer (line 3) | function Footer() { FILE: packages/website/src/theme/Navbar/Logo/index.js function NavbarLogo (line 3) | function NavbarLogo() { FILE: packages/website/src/theme/NotFound.js function NotFoundWrapper (line 5) | function NotFoundWrapper(props) {