{"_id":"@arnau/bs-dagre","_rev":"8-748103932309c73e7ccf64c120bb3885","name":"@arnau/bs-dagre","dist-tags":{"latest":"0.4.3","0.2.0":"0.2.0"},"versions":{"0.1.0":{"name":"@arnau/bs-dagre","version":"0.1.0","main":"index.js","author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","private":false,"scripts":{"build":"bsb -make-world","start":"bsb -make-world -w","clean":"bsb -clean-world","test":"$npm_execpath build && jest --coverage","format":"bsrefmt"},"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"keywords":["reason","bucklescript","dagre","graph","layout"],"devDependencies":{"@glennsl/bs-jest":"^0.4.9","bs-platform":"6","bsdoc":"6.0.0-alpha","react":"^16.9.0","reason-react":"^0.7.0"},"dependencies":{"dagre":"^0.8.4"},"description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","licenseText":"Copyright (c) 2019 Arnau Siches\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@arnau/bs-dagre@0.1.0","dist":{"shasum":"28df08698303bdd3daff722964c294b78164f71c","integrity":"sha512-zw9r4pc+sjz5bCV9Wj5TOJg/ceNDnJ1usWjp51tUNzRLQF9QRr7fbWPl3XppvGqEa6z2ayEris7ghhPUlNQ+zg==","tarball":"https://registry.npmjs.org/@arnau/bs-dagre/-/bs-dagre-0.1.0.tgz","fileCount":33,"unpackedSize":1158629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdh0g5CRA9TVsSAnZWagAAt5oP+weIlSRAy8dUccvMJurK\nE/Ip0/87eZsJpFBqVm/UrjZrAAuTc3yVdt3hcQ8XAFgEK7Yw4eL/ar3FQp44\nc8qvgkZRDnaFqYLBw8V4Vx86twMeSsC+h+B5E0SUO1Ih2R1OtEIm/6Gr5/0J\nszDcqLg/ImBBWwbSAKvHYyIWvPdh+7gtnsUVl1gsCWWaGQHN5T3f8rVHCDdd\n+DZxYweCan/qS1U4n4vIq0qu1DbngjZCWdPqsZPITEVwcBorMoEAgWfm0X3X\ntx4aTe/WNW4jTC/wIZ7dc4bynhoIE7LUTZaoYJCaWUfM7h6WVY7hq3F5WVQ6\nFTtZtuBExlxlVkn+FJcZTqc0e6FcFDRPPk08zpeYiasiTDXLuTSWX3CMfoRd\nsutsgtMKWYMZQ8Jko3VQvR1Fg9HKTKGfwnr2vcqqN0mXgMf0S03tCDqXJ1zE\nCVz/zerSbnc+Oe5TMXBJY3k8bovNGnayashxmAJY/Hh7r0tx8TBUJQRxFoC9\n6XSCYmnjOECrO421K19XZNJ0js9dx9NJlC9OqBZD8OCg7vO+5sNFva+0jWob\nHUy3p8hJ5ZjIoqpfN6KTFK8IStFe+0oUPknFeW7MPGhFY1Kph/RieivGJe19\nZqDVS8u9JY2ZOJftbV/5RE2fQa5dgpSeQ4ZRBQZXieA3pe6WKFJZLjCqc4kG\nyWD/\r\n=HWsK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTJm+59IM4Nj2VnJXW1L64/xunsLH0ocfuRfjbhHFVKAiEAieXpUCPXPVMd3YIN0gZH6I6oTOe5gOrPHYN33u4Kpws="}]},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"_npmUser":{"name":"arnau","email":"arnau.siches@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bs-dagre_0.1.0_1569146936997_0.7082542012651396"},"_hasShrinkwrap":false},"0.2.0":{"name":"@arnau/bs-dagre","version":"0.2.0","main":"index.js","author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","private":false,"scripts":{"build":"bsb -make-world","start":"bsb -make-world -w","clean":"bsb -clean-world","test":"$npm_execpath build && jest --coverage","format":"bsrefmt"},"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"keywords":["reason","bucklescript","dagre","graph","layout"],"devDependencies":{"@glennsl/bs-jest":"^0.4.9","bs-platform":"6","bsdoc":"6.0.0-alpha","react":"^16.9.0","reason-react":"^0.7.0"},"dependencies":{"dagre":"^0.8.4"},"readmeFilename":"README.md","readme":"# bs-dagre\n\n[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).\n\n\n## Status\n\n* [x] Bindings for [graphlib](https://github.com/dagrejs/graphlib) public interface.\n* [x] Bindings for [dagre](https://github.com/dagrejs/dagre) public interface.\n\n\n## Naming and organisation\n\nAlthough most names come straight from the original library, there are a few\nchanges to adapt to Reason and a few aliases for my own benefit.\n\n* Bindings for `graphlib` ara under the [`BsDagre.Graph`](src/Graph.rei)\n  module.\n* Bindings for `dagre` are under the [`BsDagre.Layout`](src/Layout.re) module.\n* `graphlib` uses \"label\" to refer to data associated with graph, nodes and\n  edges. `bs-dagre` uses \"attributes\" instead. For example, instead of\n  `setDefaultNodeLabel` you have `setDefaultNodeAttrs`.\n\n\n## Usage\n\nThe steps to compute a graph layout are: create a graph, add nodes and edges\nand finally create a layout.\n\n### Crate a graph\n\n```reason\nopen BsDagre;\n\nlet graph = Graph.make();\nGraph.setDefaultEdgeAttrs(graph, () => {\"minlen\": 2});\n```\n\nThe snippet above creates a graph with default attributes,\nif you need to tweak them, use [`Graph.Attrs.make`](src/Graph.re#L16).\n\n### Add nodes and edges\n\n```reason\nGraph.setNodeWith(graph, \"a\", Node.attrs(~label=\"first\", ~width=20, ~height=20), ());\nGraph.setNodeWith(graph, \"b\", Node.attrs(~label=\"second\", ~width=20, ~height=20), ());\n\nGraph.setEdge(graph, Edge.t(~v=\"a\", ~w=\"b\", ()));\n```\n\n### Create a layout\n\n```reason\nlet layout = Layout.make(graph);\n\n// Use the layout to render the graph.\n```\n\nCheck the [`examples`](examples) for more.\n\n\n## License\n\nbs-dagre is licensed under the terms of the MIT License. See the LICENSE file\nfor details.\n","description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","licenseText":"Copyright (c) 2019 Arnau Siches\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@arnau/bs-dagre@0.2.0","dist":{"shasum":"33f621e9174b5842ce0e22afe5732341a9f0cce7","integrity":"sha512-z0PAc+T2zJDI+8KrrHbqakyDlLhGX0AE7RrGLaCFOloNHKeyPTug9cKUcZ7yC1YWE18P2vtoPKNWQ6vLu80nQQ==","tarball":"https://registry.npmjs.org/@arnau/bs-dagre/-/bs-dagre-0.2.0.tgz","fileCount":33,"unpackedSize":1160109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdh03RCRA9TVsSAnZWagAA508P/REg/sRnWJq9242PG0yG\nLWb66xYQwDKSruG1MGjqOg2larRUv0EDtaZWf2NIrdVjby8n+XUVe6+l90X8\nyrMkFn3L/A0uTThv4EXttt9sIS5Y+wMs6txjdgD4uHQgsqWveX5+U6yl9RTz\nOq1zlrWxCjjviEw+qCv1t5ABBvhflTPq2tcvOeexh9sCkokF2iIWhpE0rZuo\n73hsy1Li7sAgV7+xYco00T50gh7y+ZRGFrLjAtWGjLoSFD02yPZInkDBmUjc\ndUU3op4z3eB+mXC9Hcx8kRahv7Scu04YY54eLJ4eOiWK+I5Mpt4N7gGM4NCM\nPd/zzSrfGzxNyszCC5VZtRbqGetUY8IoZE7hZFQuRZFTO97wEFUWjvKGiqdM\nDWIF3lwyLiV+aVjT/qgah5xgtf1ZWGH07+sfAvu//v+AdPHC61JjtdsA837C\n/RELzLal+6Y0EkD5eTmt3juG0tnKYDU6FdGdd8J0oeyCaQx2SHR6diEOq/QZ\njurwg4s9o2x4KYYrCUdNlxlyUXGPmi8ZmLu1O9FZBAZ1FgpKHGgcC+zY8O8e\n6ZjkoSupDt0TTpSkGNFwcVjz6Z0O3x/NwOqnNnOwvgybq7DX/U9VlaBZM9uW\nm9Oe0GaV42xzgsXZLYDp+DIC53AtiXRgoR/g6yd4pBsL5L3zK6NeN83SrBfx\n6Vk/\r\n=+Pl0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHfSeObYN31qGG/rlHwgyYDJh3rUTvfMLX1sVhPWkXRJAiEA+l9IcF+lmeP0D3SHNfEAL7SlWinX780NoZ/X1s3tmbw="}]},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"_npmUser":{"name":"arnau","email":"arnau.siches@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bs-dagre_0.2.0_1569148369033_0.8743526898817797"},"_hasShrinkwrap":false},"0.2.1":{"name":"@arnau/bs-dagre","version":"0.2.1","main":"index.js","author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","private":false,"scripts":{"build":"bsb -make-world","start":"bsb -make-world -w","clean":"bsb -clean-world","test":"$npm_execpath build && jest --coverage","format":"bsrefmt"},"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"keywords":["reason","bucklescript","dagre","graph","layout"],"devDependencies":{"@glennsl/bs-jest":"^0.4.9","bs-platform":"6","bsdoc":"6.0.0-alpha","react":"^16.9.0","reason-react":"^0.7.0"},"dependencies":{"dagre":"^0.8.4"},"description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","licenseText":"Copyright (c) 2019 Arnau Siches\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@arnau/bs-dagre@0.2.1","dist":{"shasum":"bdc3ee1449d713ef2a5c198e85534409063c3533","integrity":"sha512-RY04YX6hjrhT6r3RS8L+AnVv2RTwejB7nUSSDPGTfYYBnyRRGNnuaDYh5AVls0b+l9k03P3P2PESxTj9BcUwQw==","tarball":"https://registry.npmjs.org/@arnau/bs-dagre/-/bs-dagre-0.2.1.tgz","fileCount":33,"unpackedSize":1160109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdh07dCRA9TVsSAnZWagAAtkEP/iArX5iE0LeKdkXRq/U0\ni+uMpVwPIbChDg6mYGjfOwb7nygkVF9xKHkblEvpARd3CtTqUzhZKysMcyVG\nzLJXDdUihXRjWF9SxJ4K9bYm9SzIQCjrwCQiYQ6yetiGzND64GDTcAUjcP+P\n498CaWAi2lQT+Jm/y3ZU7Q0guCD4VpIhJAKefhY/ne/8uN+bcSbdPr/3FaFv\n90ndjrjTXGiGXsBgqHYdcOfACZD5ZL2oG+teHZCFB/MbSO8+IT9PRA37+thb\nT/TvtacFxuJuAdMTyGlnuk7xBqIxN7BTJpzSPhyhr4q6RJ7WSe2w1yQsX4vy\nCgrFhmMhcQH3zbbGjzlZJF9pG18tiyANkR9uB110Rh8Mpj5skZjTuJI3vqEo\nrkUlDtnF350SERMQFg4Sfgx7QZy7dG0PO92pK4nRW6XicN5r5ejwj6HKbdGX\nGaOFiB1+vKv2me9Q2XsX3xZHj0qstrr25NjRq7hFy4aaeaVL9GXV8vDc1aiw\nDHEh1KUzFFKsO+Scfdn3AWDeQoDwchUE6Q5/PUN34UUPCRPSw96Z+BDG+8b9\na67QmW70QfWgnutWDaCGbb+Sv+95eik1AFmdV01LL29cD1sfiWmrsUxTX/3G\npLnRDGdSj2YAdxclfGsuLsHJW0JKhXrWlPWi69SeGA4ZE75Y6pckcISfb9sc\nI7XQ\r\n=NBnc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGdcLJyponRhK2ZJE5Wvryu+BaQQ0gsyhJM9VblTFsKAiEAgQCA6GUNn+riVXFZJcQvFWqmuLJsrMKvvy/Po8UUsRY="}]},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"_npmUser":{"name":"arnau","email":"arnau.siches@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bs-dagre_0.2.1_1569148636710_0.08566560538802692"},"_hasShrinkwrap":false},"0.3.0":{"name":"@arnau/bs-dagre","version":"0.3.0","main":"index.js","author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","private":false,"scripts":{"build":"bsb -make-world","start":"bsb -make-world -w","clean":"bsb -clean-world","test":"$npm_execpath build && jest --coverage","format":"bsrefmt"},"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"keywords":["reason","bucklescript","dagre","graph","layout"],"devDependencies":{"@glennsl/bs-jest":"^0.4.9","bs-platform":"6","bsdoc":"6.0.0-alpha","react":"^16.9.0","reason-react":"^0.7.0"},"dependencies":{"dagre":"^0.8.4"},"description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","licenseText":"Copyright (c) 2019 Arnau Siches\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@arnau/bs-dagre@0.3.0","dist":{"shasum":"17fbb07ae4e4ba6f8f78137c11c20e07dde209d9","integrity":"sha512-CYMCO+iABO/+ehy2Lb6TR3l9TuSxNS1S36e6Ns5PCy801FmB2iIfT0wrziPqCy/BshBBIfPoTmHO1XLFTiBtJA==","tarball":"https://registry.npmjs.org/@arnau/bs-dagre/-/bs-dagre-0.3.0.tgz","fileCount":36,"unpackedSize":1161097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdh4j+CRA9TVsSAnZWagAA9w0P/izrJMhWMkQX0GETPN92\nYLhfeUPBQ9f0OpoWYULpcuyL4laCpM+QlqdOTuEXfO3q0SDnp21cm1Z+HNeI\nvm/4xuVnrQOP3SoLw0vmDTi1U507gU7S2JnoRWvrNgaIlxTbQ09DVWRiwdYa\nToeco3ozkZhw49QuG8YAMo1Zs+8l0Cb90Wq5n/4UjWNt4pSwWvGG+splenSZ\n4ZpSMG7hoLNgCWSlehuyDJ5qswuCqzsSi/oaOID4cPA0iTozpf1dFFfkDa41\nYbyxXckinb6jtfApmqjihOdUgHWE8jPZ7UwqUHfJA+BhRGiXzUPrmp9q4bB0\ngqa7IsYpp22e9l5cquoS/GQoYN+1FjX99gmXjfYAl7CVdxktHszNgTPrWG54\nbQVHqV3AxaSdNLYZ1knFroj/eysGR1KwbbyfDmIMJfg9OpSlpjJKuC3q0Oda\nxZvjRT2U5zNZujTnWWtuLefaOJT4UFZNg5ToH+DHp8uZGvdgO6spURrB7ggO\nBYQZSYWhoCLodBqGT37e7G2d/7GqRulZbaGDycsNlHQyszzOuKpYdDjxB9sn\nwY06QuxgbRVt68RqC3xKsHkbLW9/wszn95/3gkK0sW9Mhit397Y5O4QKI7x7\nbsItxIkHp3Lj0Ic1jWecQASq/80gSOSNa5fZTzwqrO7XOBYqmMu6Ri5nn1yD\nWbut\r\n=K15J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPzRhKg0xPfOUJdsjcZDjG6wG/AVXjEXLDLnCw5PyRKwIhAKMvUdBXtRel6Ew0QCBeaLjerrwjnO96YRbOh1K/Txop"}]},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"_npmUser":{"name":"arnau","email":"arnau.siches@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bs-dagre_0.3.0_1569163518126_0.4705904463181523"},"_hasShrinkwrap":false},"0.3.1":{"name":"@arnau/bs-dagre","version":"0.3.1","author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","private":false,"scripts":{"build":"bsb -make-world","start":"bsb -make-world -w","clean":"bsb -clean-world","test":"$npm_execpath build && jest --coverage","format":"bsrefmt"},"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"keywords":["reason","bucklescript","dagre","graph","layout"],"devDependencies":{"@glennsl/bs-jest":"^0.4.9","bs-platform":"6","bsdoc":"6.0.0-alpha","react":"^16.9.0","reason-react":"^0.7.0"},"dependencies":{"dagre":"^0.8.4"},"description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","licenseText":"Copyright (c) 2019 Arnau Siches\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@arnau/bs-dagre@0.3.1","dist":{"shasum":"58c24ebba213563d067ed6ff7e2b720469ecd409","integrity":"sha512-AzTgAdq+Q0OnBGybXmeEvT2C17KDytYuw2rtfTsRXI+oX49Kr+LxVa2Ak6RUQigLH6PEN1qIzZLP9PdMxNxY3Q==","tarball":"https://registry.npmjs.org/@arnau/bs-dagre/-/bs-dagre-0.3.1.tgz","fileCount":21,"unpackedSize":34083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdh5O8CRA9TVsSAnZWagAAdq0P/2VugOOVCsZ4i7+8/ioW\neVcJcIYymi1/cWxYm2I553vkq6J6s8qh0NOnxcedtNWSvEFIz5IwdPMfY5xy\njwHfIx4z+NWg+xz/z9G2kM8UYau1n7zs6f9zhn0jyWFd/iUNxSnWcFl9Ry4s\nDXlqgZJe+SZtgpzGosfVD6jVecEgJ5x0F6bsjYfPOHINSOVoJ432OLqFOpFa\nV3JCO71fT97qGxSmykc2ZRIDpW/82dn7gNcH5uSi1keQ+z3mljx9zltTXkPn\nm5CRst2sba28s8WXdHzL68YlKqJa/hhmil57kCUz6D7uqfqsTFxNrtOjpVRP\nb8e2oXvUCyREzspFWU07fzCLe1AsEkDGsyyB/ln78Q4gQZLHbhk7brepz3A7\nf0gHKZsuju/WyXTrw3tHCCCVCkbfAfRLTVeekdnIAz/bJKXRYoA6P0UZLR/y\nPGi68WYub5gMgixGJKBFIbG7hSsGvOtb38/lrw3eMGRZJEVozIz/dKA/4xH/\nUIV/KLoO5JxU9drEqQweH43YVmcQyoeb8KbQMpl5mB3jHA6zbhcimI17qgyY\nNdf6AaOPsY5RNtKK6tYr7m3x+64ADAfPkbd+frXHJcC45BXqK79ZGmLioqQP\nMQQJ/y6wqWgVWWQ4Yvbf0vZvTpvMUNDRWqVx/T1tiRLLJhtmPnlD/2xLgGVP\nJdRi\r\n=mKOX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICO4mC5h+wO0eKO6RFEWKtDDsz8zRxTagJRV+m9CtbZeAiBNLzHNkBFghu3WuxihE6WaSamlkH0jc4qgcFvUSFYJHA=="}]},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"_npmUser":{"name":"arnau","email":"arnau.siches@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bs-dagre_0.3.1_1569166267680_0.7103658873862015"},"_hasShrinkwrap":false},"0.4.0":{"name":"@arnau/bs-dagre","version":"0.4.0","author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","private":false,"scripts":{"build":"bsb -make-world","start":"bsb -make-world -w","clean":"bsb -clean-world","test":"$npm_execpath build && jest --coverage","format":"bsrefmt"},"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"keywords":["reason","bucklescript","dagre","graph","layout"],"devDependencies":{"@glennsl/bs-jest":"^0.4.9","bs-platform":"6"},"dependencies":{"dagre":"^0.8.4"},"description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","licenseText":"Copyright (c) 2019 Arnau Siches\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@arnau/bs-dagre@0.4.0","dist":{"shasum":"810cc24229834ac709eb19cbcb81b93078f242cc","integrity":"sha512-iVj0xGoxBk5l7C5iAMyXwlPQBHgI3Eq2i/8tUyihKbtgo2X9uOyDH2W6qO3ozbDxFUTbNIHe5IG4SvIhE4VJyg==","tarball":"https://registry.npmjs.org/@arnau/bs-dagre/-/bs-dagre-0.4.0.tgz","fileCount":17,"unpackedSize":34554,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjbpmCRA9TVsSAnZWagAAsOkP/jSx4sGzP+T3D7G5CSn+\nfS+67f4YE8Jy9VI0+xmxvZn9rb/0vRyrB0EPxiAC9Asz9bsUz2aN5PQDf5Bn\nkht29NH22k+JQ0FMcRHiapeL9TxwR9XIxgFo6zocFuGD+fZ7B+Qh3EXKr0y1\np3adgr6mFyfSA2/eBVGfSHwnWVLFggUKXng3WW0FrSeExyfNACn/5ynlsx35\niuIWoEH12YIgcFeShNg3TzOiASKv132xDG3E+bVhVtzashACQoAvsPSVN0ni\nGK+bwpNOpICR9oQeKhLZdDwPUI/N6840I4SHWb9dmbTuOH2hz/NXTYX5oxLt\nCuvox89mp5lqZVheTfrJH9UmumdJ+zbktN/ti0lELcvmkXnZvOxkPgu/O3x0\nho7AHXW2JFd/yWM+OkBORR3YUgUkW2G2h2w5FSAGPHjd3CZyycD1bx4iEYvT\nWsvFpnASYUS9fMIIYlSkKcP4957rwDGLQcpClhw2VtiOl9rOH7ShoH+vtIPo\nOTyY2ybcEKsb7H/AqjJLzjPxieqlZ3WHVa/2Y0LUzGhXhVIjLR9QG9QHkXkU\ncKewn3ghtaEJ0+F9o8a3YqM7lghIzETd+9+AaV1gbzcEEtrYvQTt+gZXK4Xk\nJnW6GXYgltMpdw9+FRX/kj4aPeAAlwayvKJspqVZD9hMHf/MSFbUkMubrgNp\nNWzd\r\n=nw3p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICR1sw088dYlj1SH0yzdS/k8RX72AxLin5+C7/crBPjZAiAykoS4TUcWhafsgfPM/tbL0swTMsoHcOSN7e4rz95j2g=="}]},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"_npmUser":{"name":"arnau","email":"arnau.siches@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bs-dagre_0.4.0_1569569381709_0.7870103022274193"},"_hasShrinkwrap":false},"0.4.1":{"name":"@arnau/bs-dagre","version":"0.4.1","author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","private":false,"scripts":{"build":"bsb -make-world","start":"bsb -make-world -w","clean":"bsb -clean-world","test":"$npm_execpath build && jest --coverage","format":"bsrefmt"},"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"keywords":["reason","bucklescript","dagre","graph","layout"],"devDependencies":{"@glennsl/bs-jest":"^0.5.1","bs-platform":"7"},"dependencies":{"dagre":"^0.8.4"},"description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","licenseText":"Copyright (c) 2019 Arnau Siches\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@arnau/bs-dagre@0.4.1","dist":{"shasum":"009f3fed78b7a802ba5e3646ae84663b4d4fa24e","integrity":"sha512-WORRdXGKXtAuhqo229HzJ/b7KvBTQY/MYLR8L6M/0qVTfVVFkQzZMkjzzbaXukdVFQQYPnFkkjabepEOref/Ng==","tarball":"https://registry.npmjs.org/@arnau/bs-dagre/-/bs-dagre-0.4.1.tgz","fileCount":24,"unpackedSize":42856,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeitEUCRA9TVsSAnZWagAArkoP/jVIaOv8qgKb7UJVm24e\npT9BYeygg1vrTZM3s+xAOJt6v+hxN2RBeKxUjxgeTApJF7D+ITwbCgUG44CR\nIXCOYV2U11/eUnlMSkgsYfSJMlf4KpPjADJkqI5wVgPz3QHLxTp9o9iBGLdA\np1cYSdDD6QMkK4COc01zBaZgaak8dHQt2KlxmYy9qGsZaB4VlF9LkT0beRHb\nWuIknVbc3fFyqxcZc/aGKyJA63fBz6eN2S46zjuERxNWxQ9SXnjcvalh2Lio\nPMtyKSpsT6QYhtmSCymDveMG7JzDyhWqC8mFKeCU3fxDeOaI+1L7fs/z7cwH\nE39G11g20tqGAdEHuScUmWVrTUkDy7k6IETTsmGQhaVViusCPfxxYIFLMzF7\n7yFJhIN982X/Eg7thhCWN5nkbAfV2JYauIFKbfwbwHTDBCoe6B/umG+NUtTm\nDSPHxKEeimczGLyTqPkCx5SvCZSsYwuP22A4qrvspB8AthEu5awroTaACDEY\nlral79QeGclYkeuPpLbzu2lNncpZxQqPzjwifjwwqpHAmfBqGfhh7I+1c5lk\n+jxcWyZBAA3q8PiEJvQnqZRMtxWHin23DwYSvox0dXq2F/MCQpYgabMMZbO/\n7zoY05WXR4Suj8psBNp/oYqmwigJphTuzYbjK9bAUcgCmtSZqgItSG4w2L8i\nYu9X\r\n=nAfT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFFL2RkFGiJ2+8TcH9PlQimwt0vUKlSkEoSuXmSgT5L8AiAlEOnVO8EsowCrucYYSoBb08mJmpumUtoPpVMcpjtPiQ=="}]},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"_npmUser":{"name":"arnau","email":"arnau.siches@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bs-dagre_0.4.1_1586155796473_0.4565424824868449"},"_hasShrinkwrap":false},"0.4.3":{"name":"@arnau/bs-dagre","version":"0.4.3","author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","private":false,"scripts":{"build":"bsb -make-world","start":"bsb -make-world -w","clean":"bsb -clean-world","test":"$npm_execpath build && jest --coverage","format":"bsrefmt"},"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"keywords":["reason","bucklescript","dagre","graph","layout"],"devDependencies":{"@glennsl/bs-jest":"^0.7.0","bs-platform":"9.0.2"},"dependencies":{"dagre":"^0.8.5"},"description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","licenseText":"Copyright (c) 2019 Arnau Siches\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_id":"@arnau/bs-dagre@0.4.3","dist":{"shasum":"d69398457a5dcc348de5e9ed9c0d7522d0d8e097","integrity":"sha512-pSEEwI1HiI9mTxq9Rw5veqn+a7YwcRvc6CFfCs28nelUFVkYsEhGcKvqwG7NU1e3N9P000twGemtY3efqiCuEA==","tarball":"https://registry.npmjs.org/@arnau/bs-dagre/-/bs-dagre-0.4.3.tgz","fileCount":24,"unpackedSize":42929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgetMdCRA9TVsSAnZWagAAtbAP/3fCfnKnjBUMh6WgGvCd\n02fgMUTHacobbeXudNcZ2Tgx2npNQjeofou1tpnFns8kddS9ga8nNR/cqPq1\nxZyP40sk2a5gLLhCIkEjeJFb5tsZusBVM/dQN9WJsMydwS9JsjKRX+/lm+2n\ngBXeA+zWWRGu9YfaPNBbzrSWkRnv23ByKx1nz9zIuXjrzTvtEfSMvc/Qfurk\nrPERHjQ+r9hk83KYwc7NPMliuO0R1Vomd/qxucwG8spg4dVY61foa8J7Z8x/\nnpKeaimu9ddW2DPmmk9fVS17pr7lwZ4z8hGS/7tw59GX9XFlcxEcTnnX59L8\n3ayZ6SFJ5bGxjynM72uLCAFasF6QDSEEHxLZs/psDkq1gZRLImkxU6E4x4D0\nxzQT+uOfRQN/zgouREoGJmQmQYPRfQ/42vhlPmdhN0voDOKCXyNM352hUqNS\nwI3AVR+I864MDo8XI1EQs8Kpv5t7J6VyNabrS8uay4YMcb3Io42szCk9jWQa\n9vkvO83TOj5J89LYIZucEAUHCDzC/UfbgZdRIe3y93cYoto6/PiH7jFzrrqf\nJj3/AipLxnZ5jJSRhe3BMXScijLZ/nOb84HCgEA6+dXLZ1FrvkVFlQlGK9Is\nkHJRPzczYAKGAk+lMNLGfh7iiQyQTWYTDFW7R3b+2Hpg8ULC8cZGu2/OJmxV\nLcOn\r\n=M+PZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH2T/8vmpr8yKiJ15NDE0ZF0v+BTNSczoVoy5ANVvzFwIhAKx7OJZ4kF9fJxyGXU67Zlb+JDkd3R1IGr0FYXWnArJv"}]},"_npmUser":{"name":"arnau","email":"arnau.siches@gmail.com"},"directories":{},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bs-dagre_0.4.3_1618662173431_0.42066144584014675"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-22T10:08:56.770Z","0.1.0":"2019-09-22T10:08:57.149Z","modified":"2022-04-04T15:33:39.601Z","0.2.0":"2019-09-22T10:32:49.241Z","0.2.1":"2019-09-22T10:37:16.860Z","0.3.0":"2019-09-22T14:45:18.312Z","0.3.1":"2019-09-22T15:31:07.833Z","0.4.0":"2019-09-27T07:29:41.848Z","0.4.1":"2020-04-06T06:49:56.581Z","0.4.3":"2021-04-17T12:22:53.660Z"},"maintainers":[{"name":"arnau","email":"arnau.siches@gmail.com"}],"description":"[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).","keywords":["reason","bucklescript","dagre","graph","layout"],"repository":{"type":"git","url":"git+https://github.com/arnau/bs-dagre.git"},"author":{"name":"Arnau Siches","email":"asiches@gmail.com"},"license":"MIT","readme":"# bs-dagre\n\n[BuckleScript](https://bucklescript.github.io) bindings for [dagre](https://github.com/dagrejs/dagre).\n\n\n## Status\n\n* [x] Bindings for [graphlib](https://github.com/dagrejs/graphlib) public interface.\n* [x] Bindings for [dagre](https://github.com/dagrejs/dagre) public interface.\n\n\n## Naming and organisation\n\nAlthough most names come straight from the original library, there are a few\nchanges to adapt to Reason and a few aliases for my own benefit.\n\n* Bindings for `graphlib` ara under the [`Dagre.Graph`](src/Graph.rei)\n  module.\n* Bindings for `dagre` are under the [`Dagre.Layout`](src/Layout.re) module.\n* `graphlib` uses \"label\" to refer to data associated with graph, nodes and\n  edges. `bs-dagre` uses \"attributes\" instead. For example, instead of\n  `setDefaultNodeLabel` you have `setDefaultNodeAttrs`.\n\n\n## Usage\n\nThe steps to compute a graph layout are: create a graph, add nodes and edges\nand finally create a layout.\n\n### Crate a graph\n\n```reason\nopen Dagre;\n\nlet graph = Graph.make();\nGraph.setDefaultEdgeAttrs(graph, () => {\"minlen\": 2});\n```\n\nThe snippet above creates a graph with default attributes,\nif you need to tweak them, use [`Graph.Attrs.make`](src/Graph.re#L16).\n\n### Add nodes and edges\n\n```reason\nGraph.setNodeWith(graph, \"a\", Node.attrs(~label=\"first\", ~width=20, ~height=20), ());\nGraph.setNodeWith(graph, \"b\", Node.attrs(~label=\"second\", ~width=20, ~height=20), ());\n\nGraph.setEdge(graph, Edge.t(~v=\"a\", ~w=\"b\", ()));\n```\n\n### Create a layout\n\n```reason\nlet layout = Layout.make(graph);\n\n// Use the layout to render the graph.\n```\n\nCheck the [`examples`](examples) for more.\n\n\n## License\n\nbs-dagre is licensed under the terms of the MIT License. See the LICENSE file\nfor details.\n","readmeFilename":"README.md"}