@ralfderijcke/graph
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

Graph

npm version

Basic graph data structure to store data.

Installation

@ralfderijcke/graph is available as a package on npm.

npm install @ralfderijcke/graph --save

Getting Started

const graph = new Graph();

const object1 = {};
const vertex1 = new Vertex(object1);

const object2 = {};
const vertex2 = new Vertex(object2);

const edge1 = graph.addEdge(vertex1, vertex2);

Readme

Keywords

Package Sidebar

Install

npm i @ralfderijcke/graph

Weekly Downloads

0

Version

1.0.9

License

ISC

Unpacked Size

7.92 kB

Total Files

14

Last publish

Collaborators

  • ralfderijcke