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

graphology-gexf

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphology-gexf - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

12

common/writer.js

@@ -455,3 +455,3 @@ /* eslint no-self-compare: 0 */

//-- 2) Size
if ('size' in viz) {
if (viz.size !== undefined) {
writer.startElementNS('viz', 'size');

@@ -463,10 +463,10 @@ writer.writeAttribute('value', viz.size);

//-- 3) Position
if ('x' in viz || 'y' in viz || 'z' in viz) {
if (viz.x !== undefined || viz.y !== undefined || viz.z !== undefined) {
writer.startElementNS('viz', 'position');
if ('x' in viz) writer.writeAttribute('x', viz.x);
if (viz.x !== undefined) writer.writeAttribute('x', viz.x);
if ('y' in viz) writer.writeAttribute('y', viz.y);
if (viz.y !== undefined) writer.writeAttribute('y', viz.y);
if ('z' in viz) writer.writeAttribute('z', viz.z);
if (viz.z !== undefined) writer.writeAttribute('z', viz.z);

@@ -484,3 +484,3 @@ writer.endElement();

//-- 5) Thickness
if ('thickness' in viz) {
if (viz.thickness !== undefined) {
writer.startElementNS('viz', 'thickness');

@@ -487,0 +487,0 @@ writer.writeAttribute('value', viz.thickness);

{
"name": "graphology-gexf",
"version": "0.13.0",
"version": "0.13.1",
"description": "GEXF parser & writer for graphology.",

@@ -5,0 +5,0 @@ "main": "index.js",

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