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

@cosmograph/cosmos

Package Overview
Dependencies
Maintainers
0
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cosmograph/cosmos - npm Package Compare versions

Comparing version 2.0.0-beta.3 to 2.0.0-beta.4

17

dist/config.d.ts

@@ -196,7 +196,9 @@ import { D3ZoomEvent } from 'd3-zoom';

/**
* The default color hex value to use for points when no point colors are provided or
* if the color value in the array is `undefined` or `null`.
* The default color to use for points when no point colors are provided,
* or if the color value in the array is `undefined` or `null`.
* This can be either a hex color string (e.g., '#b3b3b3') or an array of RGBA values
* in the format `[red, green, blue, alpha]` where each value is a number between 0 and 255.
* Default value: '#b3b3b3'
*/
defaultPointColor?: string;
*/
defaultPointColor?: string | [number, number, number, number];
/**

@@ -244,6 +246,9 @@ * Greyed out point opacity value when the selection is active.

/**
* The default color hex value to use for links when no link colors are provided or if the color value in the array is `undefined` or `null`.
* The default color to use for links when no link colors are provided,
* or if the color value in the array is `undefined` or `null`.
* This can be either a hex color string (e.g., '#666666') or an array of RGBA values
* in the format `[red, green, blue, alpha]` where each value is a number between 0 and 255.
* Default value: '#666666'
*/
defaultLinkColor?: string;
defaultLinkColor?: string | [number, number, number, number];
/**

@@ -250,0 +255,0 @@ * Greyed out link opacity value when the selection is active.

{
"name": "@cosmograph/cosmos",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"description": "GPU-based force graph layout and rendering",

@@ -5,0 +5,0 @@ "jsdelivr": "dist/index.min.js",

@@ -218,8 +218,12 @@ import { D3ZoomEvent } from 'd3-zoom'

spaceSize?: number;
/**
* The default color hex value to use for points when no point colors are provided or
* if the color value in the array is `undefined` or `null`.
* The default color to use for points when no point colors are provided,
* or if the color value in the array is `undefined` or `null`.
* This can be either a hex color string (e.g., '#b3b3b3') or an array of RGBA values
* in the format `[red, green, blue, alpha]` where each value is a number between 0 and 255.
* Default value: '#b3b3b3'
*/
defaultPointColor?: string;
*/
defaultPointColor?: string | [number, number, number, number];
/**

@@ -271,7 +275,12 @@ * Greyed out point opacity value when the selection is active.

renderLinks?: boolean;
/**
* The default color hex value to use for links when no link colors are provided or if the color value in the array is `undefined` or `null`.
* The default color to use for links when no link colors are provided,
* or if the color value in the array is `undefined` or `null`.
* This can be either a hex color string (e.g., '#666666') or an array of RGBA values
* in the format `[red, green, blue, alpha]` where each value is a number between 0 and 255.
* Default value: '#666666'
*/
defaultLinkColor?: string;
defaultLinkColor?: string | [number, number, number, number];
/**

@@ -278,0 +287,0 @@ * Greyed out link opacity value when the selection is active.

@@ -29,10 +29,10 @@ export const defaultPointColor = '#b3b3b3'

simulation: {
decay: 1000,
gravity: 0,
decay: 5000,
gravity: 0.25,
center: 0,
repulsion: 0.1,
repulsionTheta: 1.7,
repulsion: 1.0,
repulsionTheta: 1.15,
repulsionQuadtreeLevels: 12,
linkSpring: 1,
linkDistance: 2,
linkDistance: 10,
linkDistRandomVariationRange: [1, 1.2],

@@ -39,0 +39,0 @@ repulsionFromMouse: 2,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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