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 2.0.0-alpha2 to 2.0.0-alpha3

4

package.json
{
"name": "sigma",
"version": "2.0.0-alpha2",
"version": "2.0.0-alpha3",
"description": "A JavaScript library dedicated to graph drawing.",

@@ -49,3 +49,3 @@ "homepage": "http://sigmajs.org",

"graphology-layout": "0.0.1",
"graphology-layout-forceatlas2": "0.0.1",
"graphology-layout-forceatlas2": "0.1.0",
"html-webpack-plugin": "^2.22.0",

@@ -52,0 +52,0 @@ "mocha": "^3.0.2",

@@ -260,2 +260,10 @@ 'use strict';

// Handling window resize
this.listeners.handleResize = function () {
_this3.needToSoftProcess = true;
_this3.scheduleRender();
};
window.addEventListener('resize', this.listeners.handleResize);
// Function checking if the mouse is on the given node

@@ -416,2 +424,3 @@ var mouseIsOnNode = function mouseIsOnNode(mouseX, mouseY, nodeX, nodeY, size) {

// TODO: possible to index this somehow using two byte arrays or so
var extent = this.sigma.getGraphExtent();

@@ -618,2 +627,6 @@

// Resizing camera
// TODO: maybe move this elsewhere
if (this.camera) this.camera.resize({ width: this.width, height: this.height });
// Sizing dom elements

@@ -884,3 +897,3 @@ for (var id in this.elements) {

if (this.renderHighlightedNodesFrame) return this;
if (this.renderHighlightedNodesFrame || this.renderFrame) return this;

@@ -887,0 +900,0 @@ this.renderHighlightedNodesFrame = requestAnimationFrame(function () {

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