Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@api-modeling/graphlib
Advanced tools
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.
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.
npm install --save @api-modeling/graphlib
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);
Graphlib is licensed under the terms of the MIT License. See the LICENSE file for details.
FAQs
A directed and undirected multi-graph library
We found that @api-modeling/graphlib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.