Comparing version 3.0.0 to 3.0.1
@@ -95,3 +95,5 @@ import { EventEmitter } from "events"; | ||
} | ||
declare const TypedEventEmitter_base: new <T extends EventsMapping>() => ITypedEventEmitter<T>; | ||
declare const TypedEventEmitter_base: { | ||
new <T extends EventsMapping>(): ITypedEventEmitter<T>; | ||
}; | ||
export declare class TypedEventEmitter<Events extends EventsMapping> extends TypedEventEmitter_base<Events> { | ||
@@ -98,0 +100,0 @@ constructor(); |
{ | ||
"name": "sigma", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A JavaScript library aimed at visualizing graphs of thousands of nodes and edges.", | ||
@@ -46,3 +46,3 @@ "homepage": "https://www.sigmajs.org", | ||
"devDependencies": { | ||
"vite": "^5.1.6" | ||
"vite": "^6.0.7" | ||
}, | ||
@@ -94,3 +94,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "f0187cb13da41310bf375caf7105db2f18bc89d2" | ||
"gitHead": "9ceaec92a4cae915a15df6a656bd1f3081ffca8a" | ||
} |
@@ -5,4 +5,4 @@ 'use strict'; | ||
var index = require('../../dist/index-f81ac934.cjs.dev.js'); | ||
var inherits = require('../../dist/inherits-3d03d999.cjs.dev.js'); | ||
var index = require('../../dist/index-88310d0d.cjs.dev.js'); | ||
var inherits = require('../../dist/inherits-04acba6b.cjs.dev.js'); | ||
var colors = require('../../dist/colors-fe6de9d2.cjs.dev.js'); | ||
@@ -23,3 +23,2 @@ | ||
var NodePointProgram = /*#__PURE__*/function (_NodeProgram) { | ||
inherits._inherits(NodePointProgram, _NodeProgram); | ||
function NodePointProgram() { | ||
@@ -29,3 +28,4 @@ inherits._classCallCheck(this, NodePointProgram); | ||
} | ||
inherits._createClass(NodePointProgram, [{ | ||
inherits._inherits(NodePointProgram, _NodeProgram); | ||
return inherits._createClass(NodePointProgram, [{ | ||
key: "getDefinition", | ||
@@ -86,3 +86,2 @@ value: function getDefinition() { | ||
}]); | ||
return NodePointProgram; | ||
}(index.NodeProgram); | ||
@@ -104,3 +103,2 @@ | ||
return /*#__PURE__*/function (_EdgeProgram) { | ||
inherits._inherits(EdgeDoubleClampedProgram, _EdgeProgram); | ||
function EdgeDoubleClampedProgram() { | ||
@@ -110,3 +108,4 @@ inherits._classCallCheck(this, EdgeDoubleClampedProgram); | ||
} | ||
inherits._createClass(EdgeDoubleClampedProgram, [{ | ||
inherits._inherits(EdgeDoubleClampedProgram, _EdgeProgram); | ||
return inherits._createClass(EdgeDoubleClampedProgram, [{ | ||
key: "getDefinition", | ||
@@ -232,3 +231,2 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeDoubleClampedProgram; | ||
}(index.EdgeProgram); | ||
@@ -260,3 +258,2 @@ } | ||
var EdgeLineProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
inherits._inherits(EdgeLineProgram, _EdgeProgram); | ||
function EdgeLineProgram() { | ||
@@ -266,3 +263,4 @@ inherits._classCallCheck(this, EdgeLineProgram); | ||
} | ||
inherits._createClass(EdgeLineProgram, [{ | ||
inherits._inherits(EdgeLineProgram, _EdgeProgram); | ||
return inherits._createClass(EdgeLineProgram, [{ | ||
key: "getDefinition", | ||
@@ -324,3 +322,2 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeLineProgram; | ||
}(index.EdgeProgram); | ||
@@ -341,3 +338,2 @@ | ||
var EdgeTriangleProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
inherits._inherits(EdgeTriangleProgram, _EdgeProgram); | ||
function EdgeTriangleProgram() { | ||
@@ -347,3 +343,4 @@ inherits._classCallCheck(this, EdgeTriangleProgram); | ||
} | ||
inherits._createClass(EdgeTriangleProgram, [{ | ||
inherits._inherits(EdgeTriangleProgram, _EdgeProgram); | ||
return inherits._createClass(EdgeTriangleProgram, [{ | ||
key: "getDefinition", | ||
@@ -443,3 +440,2 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeTriangleProgram; | ||
}(index.EdgeProgram); | ||
@@ -446,0 +442,0 @@ |
@@ -5,4 +5,4 @@ 'use strict'; | ||
var index = require('../../dist/index-a45faf79.cjs.prod.js'); | ||
var inherits = require('../../dist/inherits-bddcfb5f.cjs.prod.js'); | ||
var index = require('../../dist/index-16136237.cjs.prod.js'); | ||
var inherits = require('../../dist/inherits-6434e089.cjs.prod.js'); | ||
var colors = require('../../dist/colors-ee2e2828.cjs.prod.js'); | ||
@@ -23,3 +23,2 @@ | ||
var NodePointProgram = /*#__PURE__*/function (_NodeProgram) { | ||
inherits._inherits(NodePointProgram, _NodeProgram); | ||
function NodePointProgram() { | ||
@@ -29,3 +28,4 @@ inherits._classCallCheck(this, NodePointProgram); | ||
} | ||
inherits._createClass(NodePointProgram, [{ | ||
inherits._inherits(NodePointProgram, _NodeProgram); | ||
return inherits._createClass(NodePointProgram, [{ | ||
key: "getDefinition", | ||
@@ -86,3 +86,2 @@ value: function getDefinition() { | ||
}]); | ||
return NodePointProgram; | ||
}(index.NodeProgram); | ||
@@ -104,3 +103,2 @@ | ||
return /*#__PURE__*/function (_EdgeProgram) { | ||
inherits._inherits(EdgeDoubleClampedProgram, _EdgeProgram); | ||
function EdgeDoubleClampedProgram() { | ||
@@ -110,3 +108,4 @@ inherits._classCallCheck(this, EdgeDoubleClampedProgram); | ||
} | ||
inherits._createClass(EdgeDoubleClampedProgram, [{ | ||
inherits._inherits(EdgeDoubleClampedProgram, _EdgeProgram); | ||
return inherits._createClass(EdgeDoubleClampedProgram, [{ | ||
key: "getDefinition", | ||
@@ -232,3 +231,2 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeDoubleClampedProgram; | ||
}(index.EdgeProgram); | ||
@@ -260,3 +258,2 @@ } | ||
var EdgeLineProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
inherits._inherits(EdgeLineProgram, _EdgeProgram); | ||
function EdgeLineProgram() { | ||
@@ -266,3 +263,4 @@ inherits._classCallCheck(this, EdgeLineProgram); | ||
} | ||
inherits._createClass(EdgeLineProgram, [{ | ||
inherits._inherits(EdgeLineProgram, _EdgeProgram); | ||
return inherits._createClass(EdgeLineProgram, [{ | ||
key: "getDefinition", | ||
@@ -324,3 +322,2 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeLineProgram; | ||
}(index.EdgeProgram); | ||
@@ -341,3 +338,2 @@ | ||
var EdgeTriangleProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
inherits._inherits(EdgeTriangleProgram, _EdgeProgram); | ||
function EdgeTriangleProgram() { | ||
@@ -347,3 +343,4 @@ inherits._classCallCheck(this, EdgeTriangleProgram); | ||
} | ||
inherits._createClass(EdgeTriangleProgram, [{ | ||
inherits._inherits(EdgeTriangleProgram, _EdgeProgram); | ||
return inherits._createClass(EdgeTriangleProgram, [{ | ||
key: "getDefinition", | ||
@@ -443,3 +440,2 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeTriangleProgram; | ||
}(index.EdgeProgram); | ||
@@ -446,0 +442,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { f as NodeProgram, D as DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS, a as _objectSpread2, F as FRAGMENT_SHADER_SOURCE$3, g as EdgeProgram, h as createEdgeCompoundProgram, i as createEdgeArrowHeadProgram } from '../../dist/index-4d79933a.esm.js'; | ||
export { k as AbstractEdgeProgram, A as AbstractNodeProgram, l as AbstractProgram, D as DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS, p as DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS, m as EdgeArrowHeadProgram, E as EdgeArrowProgram, n as EdgeClampedProgram, g as EdgeProgram, e as EdgeRectangleProgram, N as NodeCircleProgram, f as NodeProgram, P as Program, i as createEdgeArrowHeadProgram, q as createEdgeArrowProgram, o as createEdgeClampedProgram, h as createEdgeCompoundProgram, j as createNodeCompoundProgram, c as drawDiscNodeHover, b as drawDiscNodeLabel, d as drawStraightEdgeLabel, r as getAttributeItemsCount, s as getAttributesItemsCount, w as killProgram, u as loadFragmentShader, v as loadProgram, t as loadVertexShader, x as numberToGLSLFloat } from '../../dist/index-4d79933a.esm.js'; | ||
import { _ as _inherits, a as _createClass, b as _classCallCheck, c as _callSuper } from '../../dist/inherits-c41b88d9.esm.js'; | ||
import { f as NodeProgram, D as DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS, _ as _objectSpread2, F as FRAGMENT_SHADER_SOURCE$3, g as EdgeProgram, h as createEdgeCompoundProgram, i as createEdgeArrowHeadProgram } from '../../dist/index-236c62ad.esm.js'; | ||
export { k as AbstractEdgeProgram, A as AbstractNodeProgram, l as AbstractProgram, D as DEFAULT_EDGE_ARROW_HEAD_PROGRAM_OPTIONS, p as DEFAULT_EDGE_CLAMPED_PROGRAM_OPTIONS, m as EdgeArrowHeadProgram, E as EdgeArrowProgram, n as EdgeClampedProgram, g as EdgeProgram, e as EdgeRectangleProgram, N as NodeCircleProgram, f as NodeProgram, P as Program, i as createEdgeArrowHeadProgram, q as createEdgeArrowProgram, o as createEdgeClampedProgram, h as createEdgeCompoundProgram, j as createNodeCompoundProgram, c as drawDiscNodeHover, b as drawDiscNodeLabel, d as drawStraightEdgeLabel, r as getAttributeItemsCount, s as getAttributesItemsCount, w as killProgram, u as loadFragmentShader, v as loadProgram, t as loadVertexShader, x as numberToGLSLFloat } from '../../dist/index-236c62ad.esm.js'; | ||
import { _ as _inherits, a as _createClass, b as _classCallCheck, c as _callSuper } from '../../dist/inherits-d1a1e29b.esm.js'; | ||
import { f as floatColor } from '../../dist/colors-beb06eb2.esm.js'; | ||
@@ -19,3 +19,2 @@ | ||
var NodePointProgram = /*#__PURE__*/function (_NodeProgram) { | ||
_inherits(NodePointProgram, _NodeProgram); | ||
function NodePointProgram() { | ||
@@ -25,3 +24,4 @@ _classCallCheck(this, NodePointProgram); | ||
} | ||
_createClass(NodePointProgram, [{ | ||
_inherits(NodePointProgram, _NodeProgram); | ||
return _createClass(NodePointProgram, [{ | ||
key: "getDefinition", | ||
@@ -82,3 +82,2 @@ value: function getDefinition() { | ||
}]); | ||
return NodePointProgram; | ||
}(NodeProgram); | ||
@@ -100,3 +99,2 @@ | ||
return /*#__PURE__*/function (_EdgeProgram) { | ||
_inherits(EdgeDoubleClampedProgram, _EdgeProgram); | ||
function EdgeDoubleClampedProgram() { | ||
@@ -106,3 +104,4 @@ _classCallCheck(this, EdgeDoubleClampedProgram); | ||
} | ||
_createClass(EdgeDoubleClampedProgram, [{ | ||
_inherits(EdgeDoubleClampedProgram, _EdgeProgram); | ||
return _createClass(EdgeDoubleClampedProgram, [{ | ||
key: "getDefinition", | ||
@@ -228,3 +227,2 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeDoubleClampedProgram; | ||
}(EdgeProgram); | ||
@@ -256,3 +254,2 @@ } | ||
var EdgeLineProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
_inherits(EdgeLineProgram, _EdgeProgram); | ||
function EdgeLineProgram() { | ||
@@ -262,3 +259,4 @@ _classCallCheck(this, EdgeLineProgram); | ||
} | ||
_createClass(EdgeLineProgram, [{ | ||
_inherits(EdgeLineProgram, _EdgeProgram); | ||
return _createClass(EdgeLineProgram, [{ | ||
key: "getDefinition", | ||
@@ -320,3 +318,2 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeLineProgram; | ||
}(EdgeProgram); | ||
@@ -337,3 +334,2 @@ | ||
var EdgeTriangleProgram = /*#__PURE__*/function (_EdgeProgram) { | ||
_inherits(EdgeTriangleProgram, _EdgeProgram); | ||
function EdgeTriangleProgram() { | ||
@@ -343,3 +339,4 @@ _classCallCheck(this, EdgeTriangleProgram); | ||
} | ||
_createClass(EdgeTriangleProgram, [{ | ||
_inherits(EdgeTriangleProgram, _EdgeProgram); | ||
return _createClass(EdgeTriangleProgram, [{ | ||
key: "getDefinition", | ||
@@ -439,5 +436,4 @@ value: function getDefinition() { | ||
}]); | ||
return EdgeTriangleProgram; | ||
}(EdgeProgram); | ||
export { DEFAULT_EDGE_DOUBLE_CLAMPED_PROGRAM_OPTIONS, EdgeDoubleArrowProgram$1 as EdgeDoubleArrowProgram, EdgeDoubleClampedProgram$1 as EdgeDoubleClampedProgram, EdgeLineProgram, EdgeTriangleProgram, NodePointProgram, createEdgeDoubleArrowProgram, createEdgeDoubleClampedProgram }; |
@@ -5,5 +5,5 @@ 'use strict'; | ||
var index = require('../../dist/index-f81ac934.cjs.dev.js'); | ||
var index = require('../../dist/index-88310d0d.cjs.dev.js'); | ||
var data = require('../../dist/data-24ae515b.cjs.dev.js'); | ||
require('../../dist/inherits-3d03d999.cjs.dev.js'); | ||
require('../../dist/inherits-04acba6b.cjs.dev.js'); | ||
require('../../dist/colors-fe6de9d2.cjs.dev.js'); | ||
@@ -10,0 +10,0 @@ |
@@ -5,5 +5,5 @@ 'use strict'; | ||
var index = require('../../dist/index-a45faf79.cjs.prod.js'); | ||
var index = require('../../dist/index-16136237.cjs.prod.js'); | ||
var data = require('../../dist/data-881001cd.cjs.prod.js'); | ||
require('../../dist/inherits-bddcfb5f.cjs.prod.js'); | ||
require('../../dist/inherits-6434e089.cjs.prod.js'); | ||
require('../../dist/colors-ee2e2828.cjs.prod.js'); | ||
@@ -10,0 +10,0 @@ |
@@ -1,4 +0,4 @@ | ||
import { d as drawStraightEdgeLabel, b as drawDiscNodeLabel, c as drawDiscNodeHover, N as NodeCircleProgram, E as EdgeArrowProgram, e as EdgeRectangleProgram } from '../../dist/index-4d79933a.esm.js'; | ||
import { d as drawStraightEdgeLabel, b as drawDiscNodeLabel, c as drawDiscNodeHover, N as NodeCircleProgram, E as EdgeArrowProgram, e as EdgeRectangleProgram } from '../../dist/index-236c62ad.esm.js'; | ||
import { a as assign } from '../../dist/data-11df7124.esm.js'; | ||
import '../../dist/inherits-c41b88d9.esm.js'; | ||
import '../../dist/inherits-d1a1e29b.esm.js'; | ||
import '../../dist/colors-beb06eb2.esm.js'; | ||
@@ -5,0 +5,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var inherits = require('../../dist/inherits-3d03d999.cjs.dev.js'); | ||
var inherits = require('../../dist/inherits-04acba6b.cjs.dev.js'); | ||
var events = require('events'); | ||
@@ -31,3 +31,2 @@ | ||
var TypedEventEmitter = /*#__PURE__*/function (_ref) { | ||
inherits._inherits(TypedEventEmitter, _ref); | ||
function TypedEventEmitter() { | ||
@@ -37,5 +36,6 @@ var _this; | ||
_this = inherits._callSuper(this, TypedEventEmitter); | ||
_this.rawEmitter = inherits._assertThisInitialized(_this); | ||
_this.rawEmitter = _this; | ||
return _this; | ||
} | ||
inherits._inherits(TypedEventEmitter, _ref); | ||
return inherits._createClass(TypedEventEmitter); | ||
@@ -42,0 +42,0 @@ }(events.EventEmitter); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var inherits = require('../../dist/inherits-bddcfb5f.cjs.prod.js'); | ||
var inherits = require('../../dist/inherits-6434e089.cjs.prod.js'); | ||
var events = require('events'); | ||
@@ -31,3 +31,2 @@ | ||
var TypedEventEmitter = /*#__PURE__*/function (_ref) { | ||
inherits._inherits(TypedEventEmitter, _ref); | ||
function TypedEventEmitter() { | ||
@@ -37,5 +36,6 @@ var _this; | ||
_this = inherits._callSuper(this, TypedEventEmitter); | ||
_this.rawEmitter = inherits._assertThisInitialized(_this); | ||
_this.rawEmitter = _this; | ||
return _this; | ||
} | ||
inherits._inherits(TypedEventEmitter, _ref); | ||
return inherits._createClass(TypedEventEmitter); | ||
@@ -42,0 +42,0 @@ }(events.EventEmitter); |
@@ -1,2 +0,2 @@ | ||
import { _ as _inherits, a as _createClass, b as _classCallCheck, c as _callSuper, d as _assertThisInitialized } from '../../dist/inherits-c41b88d9.esm.js'; | ||
import { _ as _inherits, a as _createClass, b as _classCallCheck, c as _callSuper } from '../../dist/inherits-d1a1e29b.esm.js'; | ||
import { EventEmitter } from 'events'; | ||
@@ -26,3 +26,2 @@ | ||
var TypedEventEmitter = /*#__PURE__*/function (_ref) { | ||
_inherits(TypedEventEmitter, _ref); | ||
function TypedEventEmitter() { | ||
@@ -32,5 +31,6 @@ var _this; | ||
_this = _callSuper(this, TypedEventEmitter); | ||
_this.rawEmitter = _assertThisInitialized(_this); | ||
_this.rawEmitter = _this; | ||
return _this; | ||
} | ||
_inherits(TypedEventEmitter, _ref); | ||
return _createClass(TypedEventEmitter); | ||
@@ -37,0 +37,0 @@ }(EventEmitter); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var normalization = require('../../dist/normalization-d0c5ff9f.cjs.dev.js'); | ||
var normalization = require('../../dist/normalization-02a974d4.cjs.dev.js'); | ||
var colors = require('../../dist/colors-fe6de9d2.cjs.dev.js'); | ||
@@ -8,0 +8,0 @@ var data = require('../../dist/data-24ae515b.cjs.dev.js'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var normalization = require('../../dist/normalization-402741ca.cjs.prod.js'); | ||
var normalization = require('../../dist/normalization-aed467cc.cjs.prod.js'); | ||
var colors = require('../../dist/colors-ee2e2828.cjs.prod.js'); | ||
@@ -8,0 +8,0 @@ var data = require('../../dist/data-881001cd.cjs.prod.js'); |
@@ -1,4 +0,4 @@ | ||
export { A as ANIMATE_DEFAULTS, h as animateNodes, d as createElement, c as createNormalizationFunction, o as cubicIn, r as cubicInOut, p as cubicOut, e as easings, j as getCorrectionRatio, b as getMatrixImpact, g as getPixelRatio, a as graphExtent, i as identity, l as linear, m as matrixFromCamera, w as multiply, f as multiplyVec2, q as quadraticIn, n as quadraticInOut, k as quadraticOut, t as rotate, s as scale, u as translate, v as validateGraph, z as zIndexOrdering } from '../../dist/normalization-36f3d509.esm.js'; | ||
export { A as ANIMATE_DEFAULTS, h as animateNodes, b as createElement, c as createNormalizationFunction, o as cubicIn, r as cubicInOut, p as cubicOut, e as easings, j as getCorrectionRatio, a as getMatrixImpact, d as getPixelRatio, g as graphExtent, i as identity, l as linear, m as matrixFromCamera, w as multiply, f as multiplyVec2, q as quadraticIn, n as quadraticInOut, k as quadraticOut, t as rotate, s as scale, u as translate, v as validateGraph, z as zIndexOrdering } from '../../dist/normalization-be445518.esm.js'; | ||
export { H as HTML_COLORS, d as colorToArray, c as colorToIndex, e as extractPixel, f as floatColor, g as getPixelColor, i as indexToColor, p as parseColor, r as rgbaToFloat } from '../../dist/colors-beb06eb2.esm.js'; | ||
export { a as assign, b as assignDeep, e as extend, i as isPlainObject } from '../../dist/data-11df7124.esm.js'; | ||
import 'graphology-utils/is-graph'; |
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
969156
20981