Nutmeg Pumpkin Macchiato

    is_dag

    1.0.2 • Public • Published

    判断是否是 Dag 图

    Build Status codecov npm package NPM downloads

    判断是否是 Dag 图

    import { isDag } from 'is_dag';
    
    /**
     * @description: 判断是否存在多个图
     * @param {Array}  nodes
        [{
     *       source: 1,
     *       target: 2,
     *  }, {
            source: 5,
     *      target: 6,
        }]
     * @return: 
     */
    isDag(nodes);
    

    Install

    npm i is_dag

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    13.3 kB

    Total Files

    13

    Last publish

    Collaborators

    • aw_fun