Nullifying Precipitation Machine

    dangraph
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    DanGraph

    DanGraph is a library written in typescript to manipulate directed and undirected graphs

    How to

    Building a graph is as simple as invoking a class constructor and a couple of very simple methods.

    Es:

    import { DirectedGraph, CDanNode, CDanArc } from 'dangraph';
    const myGraph = new DirectedGraph.DanDirectedGraph<number, undefined>();
    myGraph.addArcToNode(
        new CDanNode({ id: 1 }),
        new CDanArc({ weight: 1, node: new CDanNode({ id: 2 }) }),
        DirectedGraph.ArcType.outgoing
    );

    Documentation

    Code documentation

    Read more about

    Scripts

    Build

    npm run build

    Test

    npm run test

    Build documentation

    npm run build:doc

    jsdoc-to-markdown

    Install

    npm i dangraph

    DownloadsWeekly Downloads

    9

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    449 kB

    Total Files

    60

    Last publish

    Collaborators

    • heavydany