Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sigma

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sigma - npm Package Compare versions

Comparing version 3.0.0-beta.10 to 3.0.0-beta.11

dist/index-176cfd0f.cjs.prod.js

4

dist/declarations/src/rendering/index.d.ts

@@ -1,4 +0,4 @@

export { NodeProgram, AbstractNodeProgram } from "./node.js";
export { NodeProgram, AbstractNodeProgram, createNodeCompoundProgram } from "./node.js";
export type { NodeProgramType } from "./node.js";
export { EdgeProgram, AbstractEdgeProgram } from "./edge.js";
export { EdgeProgram, AbstractEdgeProgram, createEdgeCompoundProgram } from "./edge.js";
export type { EdgeProgramType } from "./edge.js";

@@ -5,0 +5,0 @@ export { Program, AbstractProgram } from "./program.js";

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("../../index.js").EdgeLabelDrawingFunction<import("graphology-types").Attributes, import("graphology-types").Attributes, import("graphology-types").Attributes> | undefined;
drawLabel: import("packages/sigma/rendering/dist/sigma-rendering.cjs").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("../../../types.js").NodeDisplayData, _targetData: import("../../../types.js").NodeDisplayData, _data: import("../../../types.js").DisplayData): void;
render(_params: import("../../../types.js").RenderParams): 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;
};
};
export default EdgeArrowProgram;

@@ -1,2 +0,2 @@

Copyright (C) 2013-2021, Alexis Jacomy, Guillaume Plique https://www.sigmajs.org
Copyright (C) 2013-2024, Alexis Jacomy, Guillaume Plique https://www.sigmajs.org

@@ -3,0 +3,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),

{
"name": "sigma",
"version": "3.0.0-beta.10",
"version": "3.0.0-beta.11",
"description": "A JavaScript library aimed at visualizing graphs of thousands of nodes and edges.",

@@ -43,6 +43,6 @@ "homepage": "https://www.sigmajs.org",

"events": "^3.3.0",
"graphology-utils": "^2.5.0"
"graphology-utils": "^2.5.2"
},
"devDependencies": {
"vite": "^5.1.4"
"vite": "^5.1.6"
},

@@ -94,3 +94,3 @@ "keywords": [

},
"gitHead": "de09341ad2219f28530494611a5c1bc9b65db89b"
"gitHead": "71b9c740c6b6a12cfe4d7e5e647f7edc76ecb57e"
}

@@ -9,3 +9,3 @@ [![Build Status](https://github.com/jacomyal/sigma.js/workflows/Tests/badge.svg)](https://github.com/jacomyal/sigma.js/actions)

Here are some quick insights on the codebase. To know more on these topics, please read the [documentation](https://sigmajs.org/docs).
Here are some quick insights on the codebase. To know more on these topics, please read the **[documentation](https://sigmajs.org/docs)**.

@@ -32,5 +32,5 @@ ### Architecture

## Examples
## Storybook
The [`examples`](https://github.com/jacomyal/sigma.js/tree/main/packages/examples) folder contains a series of self-contained TypeScript projects that you can either browse and edit on [CodeSandbox](https://codesandbox.io/) or install locally likewise:
The [`Storybook`](https://github.com/jacomyal/sigma.js/tree/main/packages/storybook) package contains a series of examples that you can either browse likewise:

@@ -41,21 +41,7 @@ ```bash

npm install
cd packages/examples
npm start --example=load-gexf-file # Change this to the desired example
npm run storybook:run
```
_List of available examples_
Also, a more realistic sigma.js based web application is available in the [`demo`](https://github.com/jacomyal/sigma.js/tree/main/packages/demo) folder. It aims to show a real-world use case, and is the main showcase of [sigma.js website](https://www.sigmajs.org/).
- [Fetching and displaying a graph contained in a gexf file](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/load-gexf-file) ([fallback link](https://sigmajs.org/examples/load-gexf-file))
- [Using node & edge reducers to handle interactivity](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/use-reducers) ([fallback link](https://sigmajs.org/examples/use-reducers))
- [Fetching, parsing & wrangling a CSV file to create a network map](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/csv-to-network-map) ([fallback link](https://sigmajs.org/examples/csv-to-network-map))
- [Handling drag and drop of nodes as well as node & edge creation on click](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/mouse-manipulations) ([fallback link](https://sigmajs.org/examples/mouse-manipulations))
- [Displaying arbitrary elements, such as cluster labels, synchronized with the network](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/clusters-labels) ([fallback link](https://sigmajs.org/examples/clusters-labels))
- [Applying different animated layout algorithms to a network](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/layouts) ([fallback link](https://sigmajs.org/examples/layouts))
- [Displaying nodes in various custom ways](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/custom-rendering) ([fallback link](https://sigmajs.org/examples/custom-rendering))
- [Saving the graph as a PNG image](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/png-snapshot) ([fallback link](https://sigmajs.org/examples/png-snapshot))
- [Use events to implement interactions](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/events) ([fallback link](https://sigmajs.org/examples/events))
- [See how sigma behaves with larger graphs](https://githubbox.com/jacomyal/sigma.js/tree/main/packages/examples/large-graphs) ([fallback link](https://sigmajs.org/examples/large-graphs))
Also, a more realistic sigma.js based web application is available in the [`demo`](https://github.com/jacomyal/sigma.js/tree/main/packages/demo) folder. It aims to show a real-world usecase, and is the main showcase of [sigma.js website](https://www.sigmajs.org/).
## Website

@@ -62,0 +48,0 @@

@@ -5,3 +5,3 @@ 'use strict';

var index = require('../../dist/index-17c3e46b.cjs.dev.js');
var index = require('../../dist/index-c1649465.cjs.dev.js');
var inherits = require('../../dist/inherits-4172bb27.cjs.dev.js');

@@ -297,2 +297,4 @@ var colors = require('../../dist/colors-4b71e783.cjs.dev.js');

exports.Program = index.Program;
exports.createEdgeCompoundProgram = index.createEdgeCompoundProgram;
exports.createNodeCompoundProgram = index.createNodeCompoundProgram;
exports.drawDiscNodeHover = index.drawDiscNodeHover;

@@ -299,0 +301,0 @@ exports.drawDiscNodeLabel = index.drawDiscNodeLabel;

@@ -5,3 +5,3 @@ 'use strict';

var index = require('../../dist/index-e8011289.cjs.prod.js');
var index = require('../../dist/index-176cfd0f.cjs.prod.js');
var inherits = require('../../dist/inherits-fd41da79.cjs.prod.js');

@@ -297,2 +297,4 @@ var colors = require('../../dist/colors-ab0b5087.cjs.prod.js');

exports.Program = index.Program;
exports.createEdgeCompoundProgram = index.createEdgeCompoundProgram;
exports.createNodeCompoundProgram = index.createNodeCompoundProgram;
exports.drawDiscNodeHover = index.drawDiscNodeHover;

@@ -299,0 +301,0 @@ exports.drawDiscNodeLabel = index.drawDiscNodeLabel;

@@ -1,3 +0,3 @@

import { f as NodeProgram, _ as _defineProperty, g as EdgeProgram } from '../../dist/index-fc7760ee.esm.js';
export { h as AbstractEdgeProgram, A as AbstractNodeProgram, i as AbstractProgram, j as EdgeArrowHeadProgram, E as EdgeArrowProgram, k as EdgeClampedProgram, g as EdgeProgram, e as EdgeRectangleProgram, N as NodePointProgram, f as NodeProgram, P as Program, c as drawDiscNodeHover, b as drawDiscNodeLabel, d as drawStraightEdgeLabel, m as loadFragmentShader, n as loadProgram, l as loadVertexShader } from '../../dist/index-fc7760ee.esm.js';
import { f as NodeProgram, _ as _defineProperty, g as EdgeProgram } from '../../dist/index-33084ad3.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 NodePointProgram, 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 } from '../../dist/index-33084ad3.esm.js';
import { _ as _inherits, a as _classCallCheck, b as _callSuper, d as _createClass } from '../../dist/inherits-8fbdedb5.esm.js';

@@ -4,0 +4,0 @@ import { f as floatColor } from '../../dist/colors-a94a5731.esm.js';

@@ -5,3 +5,3 @@ 'use strict';

var index = require('../../dist/index-17c3e46b.cjs.dev.js');
var index = require('../../dist/index-c1649465.cjs.dev.js');
var data = require('../../dist/data-d0a8f6df.cjs.dev.js');

@@ -8,0 +8,0 @@ require('../../dist/inherits-4172bb27.cjs.dev.js');

@@ -5,3 +5,3 @@ 'use strict';

var index = require('../../dist/index-e8011289.cjs.prod.js');
var index = require('../../dist/index-176cfd0f.cjs.prod.js');
var data = require('../../dist/data-7e3d4a4a.cjs.prod.js');

@@ -8,0 +8,0 @@ require('../../dist/inherits-fd41da79.cjs.prod.js');

@@ -1,2 +0,2 @@

import { d as drawStraightEdgeLabel, b as drawDiscNodeLabel, c as drawDiscNodeHover, N as NodePointProgram, E as EdgeArrowProgram, e as EdgeRectangleProgram } from '../../dist/index-fc7760ee.esm.js';
import { d as drawStraightEdgeLabel, b as drawDiscNodeLabel, c as drawDiscNodeHover, N as NodePointProgram, E as EdgeArrowProgram, e as EdgeRectangleProgram } from '../../dist/index-33084ad3.esm.js';
import { a as assign } from '../../dist/data-31990a76.esm.js';

@@ -3,0 +3,0 @@ import '../../dist/inherits-8fbdedb5.esm.js';

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc