Socket
Socket
Sign inDemoInstall

@api-modeling/graphlib

Package Overview
Dependencies
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-modeling/graphlib

A directed and undirected multi-graph library


Version published
Maintainers
6
Created
Source

Graphlib

Graphlib is a JavaScript library that provides data structures for undirected and directed multi-graphs along with algorithms that can be used with them.

To learn more see our Wiki.

Published on NPM

Tests and publishing

Acknowledgment

This is a port of the dagrejs/graphlib library that is built for ESM and with types support. This library has no significant changes to the logic of the library.

MuleSoft nor Salesforce is not association with the original authors of the library and does not provide support for it.

Usage

Installation

npm install --save @api-modeling/graphlib

Creating a graph

import { Graph } from '@api-modeling/graphlib';

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

License

Graphlib is licensed under the terms of the MIT License. See the LICENSE file for details.

Keywords

FAQs

Package last updated on 29 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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