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

0.1.0 • Public • Published

@api-client/graph

A set of libraries helping working with graphs.

Published on NPM

Tests and publishing

Acknowledgment

This library is based on the dagrejs/graphlib library.

Usage

Installation

npm install --save @api-client/graph

Creating a graph

import { Graph } from '@api-client/graph';

const g = new Graph();
g.setGraph("graph label");
g.setNode("a", 123);
g.setPath(["a", "b", "c"]);
g.setEdge("a", "c", 456);

Development

git clone https://github.com/@api-client/graph
cd graph
npm install

Running the tests

npm test

License

API Components by Pawel Psztyc is licensed under CC BY 4.0

Readme

Keywords

Package Sidebar

Install

npm i @api-client/graph

Weekly Downloads

1

Version

0.1.0

License

cc-by-4.0

Unpacked Size

210 kB

Total Files

70

Last publish

Collaborators

  • jarrodek