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

@datastructures-js/graph

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datastructures-js/graph - npm Package Versions

2

5.3.0

Diff

Changelog

Source

[v5.3.0] - 2022-11-07

Added

  • getVertexValue(key) returns vertex value.
eyas-ranjous
published 5.2.0 •

Changelog

Source

[v5.2.0] - 2022-11-07

Added

  • getConnectedVertices(key) to get connected nodes to a given node.
  • getConnecetedEdges(key)to get connected edges from a given node.
  • traverseDfs(key, cb, abortCb) added abortCb optional param to abort traversal.
  • traverseBfs(key, cb, abortCb) added abortCb optional param to abort traversal.
eyas-ranjous
published 5.1.5 •

Changelog

Source

[v5.1.5] - 2022-08-15

Fixed

  • add types to package.json
eyas-ranjous
published 5.1.4 •

Changelog

Source

[v5.1.4] - 2022-06-05

Fixed

  • readme.
eyas-ranjous
published 5.1.3 •

Changelog

Source

[v5.1.3] - 2022-02-11

Fixed

  • cleanup temp files.
eyas-ranjous
published 5.1.2 •

Changelog

Source

[v5.1.2] - 2022-02-11

Fixed

  • getWeight type definition.
eyas-ranjous
published 5.1.1 •

Changelog

Source

[v5.1.1] - 2021-06-20

Fixed

  • index.d.ts
eyas-ranjous
published 5.1.0 •

Changelog

Source

[v5.1.0] - 2021-06-20

Added

  • typescript.
eyas-ranjous
published 5.0.1 •

Changelog

Source

[v5.0.1] - 2021-04-15

Fixed

  • README
eyas-ranjous
published 5.0.0 •

Changelog

Source

[v5.0.0] - 2021-04-15

Changed

  • addVertex & addEdge now can be chained.
  • remove Vertex class overhead, simply use key-value.
  • getters.

Fixed

  • .getWeight now returns Infinity for two vertices that are not connected.
  • README
2
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