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

graphology-metrics

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphology-metrics - npm Package Compare versions

Comparing version 1.14.1 to 1.14.2

10

centrality/betweenness.d.ts

@@ -6,8 +6,8 @@ import Graph from 'graphology-types';

type BetweennessCentralityOptions = {
attributes: {
centrality: string,
weight: string
attributes?: {
centrality?: string,
weight?: string
},
normalized: boolean,
weighted: boolean
normalized?: boolean,
weighted?: boolean
};

@@ -14,0 +14,0 @@

import Graph from 'graphology-types';
type DegreeCentralityOptions = {
attributes: {
centrality: string
attributes?: {
centrality?: string
}

@@ -7,0 +7,0 @@ };

@@ -6,8 +6,8 @@ import Graph from 'graphology-types';

type ModularityOptions = {
attributes: {
community: string,
weight: string
attributes?: {
community?: string,
weight?: string
},
communities: CommunityMapping,
weighted: boolean
communities?: CommunityMapping,
weighted?: boolean
};

@@ -14,0 +14,0 @@

{
"name": "graphology-metrics",
"version": "1.14.1",
"version": "1.14.2",
"description": "Miscellaneous graph metrics for graphology.",

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

import Graph, {NodeKey} from 'graphology-types';
type WeightedDegreeOptions = {
attributes: {
weight: string,
weightedDegree: string
attributes?: {
weight?: string,
weightedDegree?: string
}

@@ -8,0 +8,0 @@ };

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