Comparing version 3.0.0-beta.18 to 3.0.0-beta.19
@@ -5,3 +5,3 @@ import { Attributes } from "graphology-types"; | ||
import { ProgramInfo } from "../../program.js"; | ||
declare const UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio"]; | ||
declare const UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
export default class EdgeArrowHeadProgram<N extends Attributes = Attributes, E extends Attributes = Attributes, G extends Attributes = Attributes> extends EdgeProgram<(typeof UNIFORMS)[number], N, E, G> { | ||
@@ -13,3 +13,3 @@ getDefinition(): { | ||
METHOD: 4; | ||
UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio"]; | ||
UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
ATTRIBUTES: ({ | ||
@@ -16,0 +16,0 @@ name: string; |
@@ -1,10 +0,3 @@ | ||
declare const EdgeArrowProgram: { | ||
new (_gl: WebGLRenderingContext, _pickingBuffer: WebGLFramebuffer | null, _renderer: import("../../../index.js").default<import("graphology-types").Attributes, import("graphology-types").Attributes, import("graphology-types").Attributes>): { | ||
drawLabel: import("packages/sigma/rendering/dist/sigma-rendering.cjs.mjs").EdgeLabelDrawingFunction<import("graphology-types").Attributes, import("graphology-types").Attributes, import("graphology-types").Attributes> | undefined; | ||
kill(): void; | ||
reallocate(_capacity: number): void; | ||
process(_edgeIndex: number, _offset: number, _sourceData: import("packages/sigma/types/dist/sigma-types.cjs").NodeDisplayData, _targetData: import("packages/sigma/types/dist/sigma-types.cjs").NodeDisplayData, _data: import("packages/sigma/types/dist/sigma-types.cjs").DisplayData): void; | ||
render(_params: import("packages/sigma/types/dist/sigma-types.cjs").RenderParams): void; | ||
}; | ||
}; | ||
import { EdgeProgramType } from "../../edge.js"; | ||
declare const EdgeArrowProgram: EdgeProgramType; | ||
export default EdgeArrowProgram; |
@@ -27,5 +27,5 @@ import { Attributes } from "graphology-types"; | ||
METHOD: 4; | ||
UNIFORMS: readonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio"]; | ||
UNIFORMS: readonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
}; | ||
processVisibleItem(edgeIndex: number, startIndex: number, sourceData: NodeDisplayData, targetData: NodeDisplayData, data: EdgeDisplayData): void; | ||
} |
@@ -5,3 +5,3 @@ import { Attributes } from "graphology-types"; | ||
import { ProgramInfo } from "../../program.js"; | ||
declare const UNIFORMS: readonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio"]; | ||
declare const UNIFORMS: readonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
export default class EdgeRectangleProgram<N extends Attributes = Attributes, E extends Attributes = Attributes, G extends Attributes = Attributes> extends EdgeProgram<(typeof UNIFORMS)[number], N, E, G> { | ||
@@ -13,3 +13,3 @@ getDefinition(): { | ||
METHOD: 4; | ||
UNIFORMS: readonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio"]; | ||
UNIFORMS: readonly ["u_matrix", "u_zoomRatio", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
ATTRIBUTES: ({ | ||
@@ -16,0 +16,0 @@ name: string; |
@@ -5,3 +5,3 @@ import { Attributes } from "graphology-types"; | ||
import { ProgramInfo } from "../../program.js"; | ||
declare const UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio"]; | ||
declare const UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
export default class EdgeTriangleProgram<N extends Attributes = Attributes, E extends Attributes = Attributes, G extends Attributes = Attributes> extends EdgeProgram<(typeof UNIFORMS)[number], N, E, G> { | ||
@@ -13,3 +13,3 @@ getDefinition(): { | ||
METHOD: 4; | ||
UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio"]; | ||
UNIFORMS: readonly ["u_matrix", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
ATTRIBUTES: ({ | ||
@@ -16,0 +16,0 @@ name: string; |
@@ -40,2 +40,3 @@ import { Attributes } from "graphology-types"; | ||
defaultDrawNodeHover: NodeHoverDrawingFunction<N, E, G>; | ||
minEdgeThickness: number; | ||
labelDensity: number; | ||
@@ -42,0 +43,0 @@ labelGridCellSize: number; |
@@ -66,2 +66,3 @@ /// <reference types="node" /> | ||
downSizingRatio: number; | ||
minEdgeThickness: number; | ||
} | ||
@@ -68,0 +69,0 @@ export type Listener = (...args: any[]) => void; |
{ | ||
"name": "sigma", | ||
"version": "3.0.0-beta.18", | ||
"version": "3.0.0-beta.19", | ||
"description": "A JavaScript library aimed at visualizing graphs of thousands of nodes and edges.", | ||
@@ -93,3 +93,3 @@ "homepage": "https://www.sigmajs.org", | ||
}, | ||
"gitHead": "6c1cf6dcf58b4b4116a8aedcd37cccd62018179b" | ||
"gitHead": "23e53736c9a95bd0bc81bdef9644be11e6d630c2" | ||
} |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var index = require('../../dist/index-017ffe5c.cjs.dev.js'); | ||
var index = require('../../dist/index-22649381.cjs.dev.js'); | ||
var inherits = require('../../dist/inherits-4172bb27.cjs.dev.js'); | ||
@@ -176,3 +176,3 @@ var colors = require('../../dist/colors-a4626581.cjs.dev.js'); | ||
FLOAT = _WebGLRenderingContex.FLOAT; | ||
var UNIFORMS = ["u_matrix", "u_sizeRatio", "u_correctionRatio"]; | ||
var UNIFORMS = ["u_matrix", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
var EdgeTriangleProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
@@ -271,6 +271,8 @@ inherits._inherits(EdgeTriangleProgram, _EdgeProgram); | ||
u_sizeRatio = uniformLocations.u_sizeRatio, | ||
u_correctionRatio = uniformLocations.u_correctionRatio; | ||
u_correctionRatio = uniformLocations.u_correctionRatio, | ||
u_minEdgeThickness = uniformLocations.u_minEdgeThickness; | ||
gl.uniformMatrix3fv(u_matrix, false, params.matrix); | ||
gl.uniform1f(u_sizeRatio, params.sizeRatio); | ||
gl.uniform1f(u_correctionRatio, params.correctionRatio); | ||
gl.uniform1f(u_minEdgeThickness, params.minEdgeThickness); | ||
} | ||
@@ -277,0 +279,0 @@ }]); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var index = require('../../dist/index-df506141.cjs.prod.js'); | ||
var index = require('../../dist/index-3da021c3.cjs.prod.js'); | ||
var inherits = require('../../dist/inherits-fd41da79.cjs.prod.js'); | ||
@@ -176,3 +176,3 @@ var colors = require('../../dist/colors-d415fc58.cjs.prod.js'); | ||
FLOAT = _WebGLRenderingContex.FLOAT; | ||
var UNIFORMS = ["u_matrix", "u_sizeRatio", "u_correctionRatio"]; | ||
var UNIFORMS = ["u_matrix", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
var EdgeTriangleProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
@@ -271,6 +271,8 @@ inherits._inherits(EdgeTriangleProgram, _EdgeProgram); | ||
u_sizeRatio = uniformLocations.u_sizeRatio, | ||
u_correctionRatio = uniformLocations.u_correctionRatio; | ||
u_correctionRatio = uniformLocations.u_correctionRatio, | ||
u_minEdgeThickness = uniformLocations.u_minEdgeThickness; | ||
gl.uniformMatrix3fv(u_matrix, false, params.matrix); | ||
gl.uniform1f(u_sizeRatio, params.sizeRatio); | ||
gl.uniform1f(u_correctionRatio, params.correctionRatio); | ||
gl.uniform1f(u_minEdgeThickness, params.minEdgeThickness); | ||
} | ||
@@ -277,0 +279,0 @@ }]); |
@@ -1,3 +0,3 @@ | ||
import { f as NodeProgram, g as EdgeProgram } from '../../dist/index-29acc883.esm.js'; | ||
export { i as AbstractEdgeProgram, A as AbstractNodeProgram, k as AbstractProgram, l as EdgeArrowHeadProgram, E as EdgeArrowProgram, m as EdgeClampedProgram, g as EdgeProgram, e as EdgeRectangleProgram, N as NodeCircleProgram, f as NodeProgram, P as Program, j as createEdgeCompoundProgram, h as createNodeCompoundProgram, c as drawDiscNodeHover, b as drawDiscNodeLabel, d as drawStraightEdgeLabel, o as loadFragmentShader, p as loadProgram, n as loadVertexShader, q as numberToGLSLFloat } from '../../dist/index-29acc883.esm.js'; | ||
import { f as NodeProgram, g as EdgeProgram } from '../../dist/index-6bccaf6e.esm.js'; | ||
export { i as AbstractEdgeProgram, A as AbstractNodeProgram, k as AbstractProgram, l as EdgeArrowHeadProgram, E as EdgeArrowProgram, m as EdgeClampedProgram, g as EdgeProgram, e as EdgeRectangleProgram, N as NodeCircleProgram, f as NodeProgram, P as Program, j as createEdgeCompoundProgram, h as createNodeCompoundProgram, c as drawDiscNodeHover, b as drawDiscNodeLabel, d as drawStraightEdgeLabel, o as loadFragmentShader, p as loadProgram, n as loadVertexShader, q as numberToGLSLFloat } from '../../dist/index-6bccaf6e.esm.js'; | ||
import { _ as _inherits, a as _classCallCheck, b as _callSuper, d as _createClass } from '../../dist/inherits-8fbdedb5.esm.js'; | ||
@@ -172,3 +172,3 @@ import { f as floatColor } from '../../dist/colors-2f6d17f0.esm.js'; | ||
FLOAT = _WebGLRenderingContex.FLOAT; | ||
var UNIFORMS = ["u_matrix", "u_sizeRatio", "u_correctionRatio"]; | ||
var UNIFORMS = ["u_matrix", "u_sizeRatio", "u_correctionRatio", "u_minEdgeThickness"]; | ||
var EdgeTriangleProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
@@ -267,6 +267,8 @@ _inherits(EdgeTriangleProgram, _EdgeProgram); | ||
u_sizeRatio = uniformLocations.u_sizeRatio, | ||
u_correctionRatio = uniformLocations.u_correctionRatio; | ||
u_correctionRatio = uniformLocations.u_correctionRatio, | ||
u_minEdgeThickness = uniformLocations.u_minEdgeThickness; | ||
gl.uniformMatrix3fv(u_matrix, false, params.matrix); | ||
gl.uniform1f(u_sizeRatio, params.sizeRatio); | ||
gl.uniform1f(u_correctionRatio, params.correctionRatio); | ||
gl.uniform1f(u_minEdgeThickness, params.minEdgeThickness); | ||
} | ||
@@ -273,0 +275,0 @@ }]); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var index = require('../../dist/index-017ffe5c.cjs.dev.js'); | ||
var index = require('../../dist/index-22649381.cjs.dev.js'); | ||
var data = require('../../dist/data-d0a8f6df.cjs.dev.js'); | ||
@@ -54,2 +54,3 @@ require('../../dist/inherits-4172bb27.cjs.dev.js'); | ||
defaultDrawNodeHover: index.drawDiscNodeHover, | ||
minEdgeThickness: 1.7, | ||
// Labels | ||
@@ -56,0 +57,0 @@ labelDensity: 1, |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var index = require('../../dist/index-df506141.cjs.prod.js'); | ||
var index = require('../../dist/index-3da021c3.cjs.prod.js'); | ||
var data = require('../../dist/data-7e3d4a4a.cjs.prod.js'); | ||
@@ -54,2 +54,3 @@ require('../../dist/inherits-fd41da79.cjs.prod.js'); | ||
defaultDrawNodeHover: index.drawDiscNodeHover, | ||
minEdgeThickness: 1.7, | ||
// Labels | ||
@@ -56,0 +57,0 @@ labelDensity: 1, |
@@ -1,2 +0,2 @@ | ||
import { d as drawStraightEdgeLabel, b as drawDiscNodeLabel, c as drawDiscNodeHover, N as NodeCircleProgram, E as EdgeArrowProgram, e as EdgeRectangleProgram } from '../../dist/index-29acc883.esm.js'; | ||
import { d as drawStraightEdgeLabel, b as drawDiscNodeLabel, c as drawDiscNodeHover, N as NodeCircleProgram, E as EdgeArrowProgram, e as EdgeRectangleProgram } from '../../dist/index-6bccaf6e.esm.js'; | ||
import { a as assign } from '../../dist/data-31990a76.esm.js'; | ||
@@ -49,2 +49,3 @@ import '../../dist/inherits-8fbdedb5.esm.js'; | ||
defaultDrawNodeHover: drawDiscNodeHover, | ||
minEdgeThickness: 1.7, | ||
// Labels | ||
@@ -51,0 +52,0 @@ labelDensity: 1, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
841642
18663