datastructures-js

The javascript data structures project (w/ typescript support).


Graph


Install

npm install --save @datastructures-js/graph

require

const { Graph, DirectedGraph } = require('@datastructures-js/graph');

import

import { Graph, DirectedGraph } from '@datastructures-js/graph';

Full API

datastructures-js/graph