{"name":"dagre-compound","version":"0.0.10-beta.0","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":{"lint":"tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test-data/**/*.ts' --fix","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","precommit":"lint-staged","travis-deploy-once":"travis-deploy-once","commitmsg":"commitlint -E HUSKY_GIT_PARAMS"},"lint-staged":{"{src,test}/**/*.ts":["./node_modules/.bin/prettier --write","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}"]},"prettier":{"semi":true,"singleQuote":true},"commitlint":{"extends":["@commitlint/config-conventional"]},"devDependencies":{"@commitlint/cli":"^7.1.2","@commitlint/config-conventional":"^7.1.2","@rollup/plugin-typescript":"^8.1.0","@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","colors":"^1.3.2","commitizen":"^3.0.0","coveralls":"^3.0.2","cross-env":"^5.2.0","cz-conventional-changelog":"^2.1.0","husky":"^1.0.1","jest":"^23.6.0","jest-config":"^23.6.0","lint-staged":"^8.0.0","lodash.camelcase":"^4.3.0","prettier":"^1.14.3","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","tslint":"^5.20.1","tslint-config-prettier":"^1.15.0","tslint-config-standard":"^8.0.1","typedoc":"^0.19.2","typescript":"^4.0.5"},"peerDependencies":{"dagre":"^0.8.5"},"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","readmeFilename":"README.md","gitHead":"ce5e9b65ceb7a6fea0faeecc11093b362c9dc837","_id":"dagre-compound@0.0.10-beta.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-Y+nWx+kS4pnl1noaFXb/JIreJkTgkuwEfXpDo6t3K4JiIk2GHx/HDj2gCDsMhKze22zkQoz9hIiARO1/cQjbWg==","shasum":"46c3a28f526f821e0239ed7457fa21462d79d425","tarball":"http://registry-npm.ywwl.com/dagre-compound/download/dagre-compound-0.0.10-beta.0.tgz","fileCount":20,"unpackedSize":1115788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAjbvCRA9TVsSAnZWagAAFq0P/26n2Spqry15R0iYI6xg\nvPitAyAPVPNKSPi3iikCQ7LUmj9WUjYQmH9npCO/4UkacadO/+u71W0linNB\nB/qzEUlzjuN7Zje14DPNFP1dpXpuUkNYGiWXXMPDEVZ4fzclrKcHlfj08NzU\n8FlVjeRhQG43TtdnyqloYCZ1lYuEfULnx08EKsVAtUgjw6eSF1APOjsXlLO6\nFIhucTW+/q1vimMCc/iOsvvgm5HT5CgFHRh0ZnAHtIe87nFFy3IUQLBVr4X5\n6nLY+zctm44AP9imDtkAqiIv1WtmRkcYqdOLw8ZoxAy9/pgTGYDTrkRy+zUt\n4jNclASTDRxXawZFC6oaq7OeUie6qLUc8zKURRM6wJHHcn3mRzL5188oFuGk\n4fI9gbwjaeCx0HgXHLAJ69mvKBmWB5x7zEf0115OIGIenjdsnGKq0tBBG5ZM\n341X4WDoVuSqvcynzc6q6VdFMXPHSeCofoDPosHonySFV9fJvlC6Y2n8lHWn\nWWR2UKJ8jtK+0e0VpxMLQi4NwOVRoUg2lw053cf/umoDuwKoVF2nf0cnPWAh\nndMhf28GwHLHvZTQ/T2cyiwup+1qX5T16Moz2L2oZml5Tk3/3uU6KArzGGVL\nU/kyCURJfSEmjKEgDaeHQPCoYs47KZf0Hs/Zn5R2TEoThDytMxk5t3/fhAhy\nUoJ5\r\n=G1UT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDz/TY+3qWYJ/J3cDpishcECqw2uQcQ8x8Qt1bOFdly9gIgcOHnFJqKcV0h/Sjfb1tRcLwPMHpz7QTg92EliymLMp0="}],"size":301953,"noattachment":false,"key":"/dagre-compound/-/dagre-compound-0.0.10-beta.0.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.10-beta.0_1644312303489_0.5252995247661021"},"_hasShrinkwrap":false,"publish_time":1644312303689,"_cnpm_publish_time":1644312303689,"dist-tags":{"beta":"0.1.0-beta.1","latest":"0.0.13"}}