{"name":"dagre-compound","version":"0.0.13","description":"A multi-level compound graph layout library based on dagre","keywords":["graph","layout","dagre","compound"],"main":"dist/dagre-compound.umd.js","module":"dist/dagre-compound.es5.js","typings":"dist/types/index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"author":{"name":"NG-ZORRO authors"},"repository":{"type":"git","url":"https://github.com/PLACEHOLDER.git"},"license":"MIT","engines":{"node":">=6.0.0"},"scripts":{"format":"prettier --config .prettierrc.js --check \"src/**/*.ts\"","lint":"eslint --cache --ext .ts src/","lint:fix":"eslint --fix --cache src/ --ext .ts","prebuild":"rimraf dist","doc":"typedoc --out docs --target es6 --theme minimal --mode file src","build":"tsc --module commonjs && rollup -c rollup.config.ts","start":"rollup -c rollup.config.ts -w","test":"jest","test:watch":"jest --coverage --watch","test:prod":"npm run lint && npm run test -- --no-cache","deploy-docs":"ts-node tools/gh-pages-publish","report-coverage":"cat ./coverage/lcov.info | coveralls","commit":"git-cz","semantic-release":"semantic-release","semantic-release-prepare":"ts-node tools/semantic-release-prepare","pre-commit":"lint-staged","travis-deploy-once":"travis-deploy-once","commitmsg":"commitlint -E HUSKY_GIT_PARAMS","prepare":"husky install"},"lint-staged":{"{src,test}/**/*.ts":["./node_modules/.bin/prettier --config .prettierrc.js --write \"src/**/*.ts\"","eslint --fix","git add ."]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"jest":{"transform":{".(ts)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|js)$","moduleFileExtensions":["ts","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"coverageThreshold":{"global":{"branches":90,"functions":95,"lines":95,"statements":95}},"collectCoverageFrom":["src/*.{js,ts}"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.6.1","@commitlint/config-conventional":"^7.6.0","@rollup/plugin-typescript":"^8.1.0","@types/dagre":"^0.7.48","@types/jest":"^23.3.2","@types/lodash.camelcase":"^4.3.6","@types/node":"^10.11.0","@types/rollup-plugin-json":"^3.0.2","@types/rollup-plugin-sourcemaps":"^0.4.2","@typescript-eslint/eslint-plugin":"^5.14.0","@typescript-eslint/parser":"^5.14.0","colors":"^1.3.2","commitizen":"^3.0.0","coveralls":"^3.0.2","cross-env":"^5.2.0","cz-conventional-changelog":"^2.1.0","eslint":"^8.10.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-simple-import-sort":"^7.0.0","husky":"^7.0.4","jest":"^23.6.0","jest-config":"^23.6.0","lint-staged":"^8.0.0","lodash.camelcase":"^4.3.0","prettier":"2.5.1","prompt":"^1.0.0","replace-in-file":"^3.4.2","rimraf":"^2.6.2","rollup":"^2.35.1","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-json":"^3.1.0","rollup-plugin-node-resolve":"^4.2.4","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-terser":"^7.0.2","semantic-release":"^17.3.0","shelljs":"^0.8.3","travis-deploy-once":"^5.0.9","ts-jest":"^23.10.2","ts-node":"^7.0.1","typedoc":"^0.19.2","typescript":"^4.0.5"},"peerDependencies":{"dagre":"^0.8.5","@types/dagre":"^0.7.48"},"gitHead":"10d53362e61f1f3450df1aaa7d7e8fb730331f08","_id":"dagre-compound@0.0.13","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-VI9g745cH0INd1QWXFwG5EAcz9aKHPfwCnXw36WlLxOwCrA9QuSsvFZaoKIYpG16ipO8YUdxNcVIQ6jkoWNRUg==","shasum":"223b4855f66c5cfd797fc7346d64c6458f801ad3","tarball":"http://registry-npm.ywwl.com/dagre-compound/download/dagre-compound-0.0.13.tgz","fileCount":34,"unpackedSize":1157793,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+qED24dFFs1tpPex+Wwg/ghVcMNVliz6UAFboWgnnXAIhAMCGRJdylz0HfeAYC+frat4xL42v/ShF4ShYZIk5FRsL"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSNSHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9Qw/9Ht4ut8tko23uXhhIlwWt92q6nSIqBP8uVEi36jK4TX+8HyV0\r\nr6u/wCs9v/BGHTJNSv5T7VbTinuIYmCqigfeA083yGAGO10H9ozx1yFyKY6+\r\ng4r6RVB9iNbXU2MBQJGAKLJ2nbyGjv+yqiHAeS/1nPoGn/ogecRawdSPVqe3\r\nnERM7TiWd+jMuXyhdo+hWfjWc2W9TmxbuXP6e9Wle8ifTPx+pUOqyZdHKP3V\r\ndRdzipYMf6E/0lhWelZnYTs79CmX9iXtZfH//Cz+foIlV3JwraGjXBtuI3WL\r\nfmQJodg0n396l2rkNMMCdRUJ/bfBsWJ0rPcYU1L+QjSZwH1MwAHlX0aKO0TO\r\nzz5RwB/dU75om+x3RFJn5E/BzHgKD0mZLclzBt39MrnIG4a3ELoWZi6pudpt\r\n8TxQYZrPyVV4hKGuHgr7ztFlVSW6YeixYMA7pN/e28uYAYfFZi+NzvUyZHkd\r\nsk37vWbdig0kjlS96IkNxe3w0QFnTIZKp2MccAhIDvvUfp/o5dFEGvmAn/hM\r\nNFa+N9f2RxLt0ICLgJqypdxtifEaFHyd/FkuV8i01MEKhNaIDwmRxC2n+THO\r\nTZpNXB8/ACcpEuL4t7tj3ApUyarhwtxkNeNejt7EBrO+sH1hgFSdgdf/u0oW\r\nccyCl+kxqCVkQDkCvJt33OdsVd6wfn0O7vM=\r\n=T0i/\r\n-----END PGP SIGNATURE-----\r\n","size":307277,"noattachment":false,"key":"/dagre-compound/-/dagre-compound-0.0.13.tgz"},"_npmUser":{"name":"simplejason","email":"simplejason.coder@gmail.com"},"directories":{},"maintainers":[{"name":"hsuanlee","email":"HsuanGM@gmail.com"},{"name":"simplejason","email":"simplejason.coder@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dagre-compound_0.0.13_1665717383379_0.419743370167033"},"_hasShrinkwrap":false,"readme":"# Dagre Compound\n\nA multi-level compound graph layout library based on dagre.\n\n## 📦 Installation\n```bash\n$ npm i dagre-compound\n```\n\n## 🔨 Usage\n```ts\nimport { buildGraph, HierarchyGraphNodeInfo } from 'dagre-compound';\n\nconst data = {\n    nodes: [\n      { id: '0-1'},\n      { id: '0-2'},\n      { id: '1-1'},\n      { id: '1-2'},\n    ],\n    edges: [\n      { v: '0-1', w: '0-2' },\n      { v: '0-2', w: '1-1' },\n      { v: '1-1', w: '1-2' }\n    ],\n    compound: {\n      GROUP0: ['0-1', '0-2']\n    }\n}\nconst renderInfo: HierarchyGraphNodeInfo = buildGraph(data);\n```\n","publish_time":1665717383618,"_cnpm_publish_time":1665717383618,"dist-tags":{"beta":"0.1.0-beta.1","latest":"0.0.13"}}