{"_id":"@domoinc/get-path-string-with-two-bends","_rev":"37-ac3d13b00e76ad37b48f898befabe40d","name":"@domoinc/get-path-string-with-two-bends","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@domoinc/get-path-string-with-two-bends","version":"1.0.0","keywords":["domo","app"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/get-path-string-with-two-bends@1.0.0","maintainers":[{"name":"jmstewart","email":"james.stewart42@gmail.com"}],"dist":{"shasum":"def4e201ff65dd62bafda83c58f4865a269c2a49","tarball":"https://registry.npmjs.org/@domoinc/get-path-string-with-two-bends/-/get-path-string-with-two-bends-1.0.0.tgz","integrity":"sha512-zoM32xJRjFwIjyYRGovedBhdEniQfWWDKzREtAWdHbuCU8k8/JJuRD1yxUOV/c7xFIvsKeo/cz/XEUZBMNsBJw==","signatures":[{"sig":"MEMCIGMWf0/CZAGTu3FkUOq2ueXutPrSVtdc/dQMWDOVdIL+Ah8kigKTR8pGKabz3Y93Tpo5D3+//J9LVB+8hZsKK/xX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":".","_shasum":"def4e201ff65dd62bafda83c58f4865a269c2a49","gitHead":"c457c8973f93e80074f3fea23dc971156cabd2fe","scripts":{},"_npmUser":{"name":"jmstewart","email":"james.stewart42@gmail.com"},"repository":{"type":"git"},"_npmVersion":"3.7.1","description":"getPathStringWithTwoBends - Domo Widget","directories":{},"_nodeVersion":"5.4.1","dependencies":{},"devDependencies":{"grunt":"~0.4.2","request":"^2.40.0","shelljs":"^0.2.6","webpack":"^1.12.12","grunt-notify":"^0.3.0","grunt-prompt":"^1.1.0","grunt-release":"^0.13.0","grunt-webpack":"^1.0.11","jshint-stylish":"^0.1.5","grunt-port-pick":"^1.5.0","load-grunt-tasks":"^3.4.0","webpack-dev-server":"^1.14.1","grunt-contrib-clean":"^0.7.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-jshint":"~0.7.2","grunt-contrib-connect":"^0.7.1","grunt-conventional-changelog":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-path-string-with-two-bends-1.0.0.tgz_1455740415853_0.3725587378721684","host":"packages-6-west.internal.npmjs.com"}},"1.1.0":{"name":"@domoinc/get-path-string-with-two-bends","version":"1.1.0","keywords":["app","domo"],"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","_id":"@domoinc/get-path-string-with-two-bends@1.1.0","maintainers":[{"name":"aharris88","email":"aharris88@gmail.com"},{"name":"andrewjensen","email":"andrewjensen90@gmail.com"},{"name":"bkingery","email":"brian.kingery@gmail.com"},{"name":"bmbarker-domo","email":"ben.barker@domo.com"},{"name":"clm","email":"chris.clm09@gmail.com"},{"name":"dallasnorton","email":"dallaslandonnorton@gmail.com"},{"name":"excrispy","email":"excrispy@gmail.com"},{"name":"freakaziod210","email":"freakaziod210@gmail.com"},{"name":"jaxry","email":"cabot696@gmail.com"},{"name":"jgalb","email":"jakegpv@gmail.com"},{"name":"jmstewart","email":"james.stewart42@gmail.com"},{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},{"name":"k4paul","email":"kellie.morgan@domo.com"},{"name":"lcwright21","email":"lance.wright@hotmail.com"},{"name":"morganjohn12","email":"morganjohn12@gmail.com"},{"name":"nicksrandall","email":"nicksrandall@gmail.com"},{"name":"scott.davidson.domo","email":"scott.davidson@domo.com"},{"name":"whitney.rosenberg","email":"whitney.rosenberg@domo.com"}],"dist":{"shasum":"dcc2983abd4984c44f0d774b67587e67369b652e","tarball":"https://registry.npmjs.org/@domoinc/get-path-string-with-two-bends/-/get-path-string-with-two-bends-1.1.0.tgz","integrity":"sha512-mNM9c4tBEwmMHt18O4Vi4Ywzq/+dw4jLfuugnCHk12jtyulhye6+2C/rTbBFIjLDw2zLLkivCMaEImT6+A0seg==","signatures":[{"sig":"MEQCIAgHXx75fFg4tF2N9ln3tl6eEFY3/Q+bOaJWojjC9Bp9AiBCZsAigpt1N4MoQxggoeLzNgHPKP3WMo87VoYX/WdoUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzxHoCRA9TVsSAnZWagAAj58P/3hzMrpTFwLmszjI7sx7\nu/0/RX/0kyGAU1gu9KYFqnSB/UuCkeobcV8hP+Hv7kliVOClOz7eNrR632xt\nTLD+7TzaJYrZKNDlVy29esWBQF2vOvkbO9ZzBHTHqAOBXOOh678Eba7L6eBg\n3fORN2fCIL74wm96p8xLkek75FL7g6lAf8G3BvLq5SV7tH71hWs+nokXBJXH\ntfgGozcvVyfVc5y+zImoaLrt1ct/qTPfWPtMI47rxePVQUutnL+1xhySE0G4\naQNF5rxG0c5HybKR0runIuaXLe0V9hp6ViKN+KRpqzA6bCebYd3gZMJt9gZi\nl3vuqr08mUvRGxTZYxd8CVD/BEXtm5/O01FqF2yPZw3/0VRiwGgWHptHVNxJ\nv0rexkOtseSgzOiMvTnLzy7qKAO0Zw4OoPCBEhPxsgMOo0iyq9Q+Lhac9AZG\nVfmPaQSRVzNA9802/RyytJQdAv+hRvP6qsUYC7XigykCDoeFO1jH1nUQRoc6\nqOuvylF++BnmWJowao+q9HRX/mWeWqo5wtl5ZE8mMj1KsJ2unHtRthL/RA81\nbgYOWvpEXqjR730RXJyNhPCKgGmvl4fZGCUg7THgqNxZGpe5B4SuKkTkYu9h\nQNEjeWmudNefnLr0jeHZ/EkdH09K9vI0FTuH+tCUZdoBHaX7zgcZZUhavZ0a\n2Mir\r\n=1UIN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/bundle.js","_args":[["@domoinc/get-path-string-with-two-bends","/Users/jonathanlaw/Development/AppTeam6/MarketingROI"]],"_from":".","_spec":"@domoinc/get-path-string-with-two-bends","_where":"/Users/jonathanlaw/Development/AppTeam6/MarketingROI","_shasum":"dcc2983abd4984c44f0d774b67587e67369b652e","gitHead":"c457c8973f93e80074f3fea23dc971156cabd2fe","scripts":{},"_inCache":true,"_npmUser":{"name":"jonathan-law","email":"jonathan.q.law@gmail.com"},"_location":"/@domoinc/get-path-string-with-two-bends","_resolved":"https://registry.npmjs.org/@domoinc/get-path-string-with-two-bends/-/get-path-string-with-two-bends-1.0.0.tgz","_requested":{"raw":"@domoinc/get-path-string-with-two-bends","name":"@domoinc/get-path-string-with-two-bends","spec":"*","type":"range","scope":"@domoinc","rawSpec":""},"repository":{"type":"git"},"_npmVersion":"3.3.8","_requiredBy":["/","/@domoinc/bent-line-with-dot"],"_shrinkwrap":null,"description":"getPathStringWithTwoBends - Domo Widget","directories":{},"installable":true,"_nodeVersion":"4.2.1","dependencies":{},"devDependencies":{"grunt":"~0.4.2","request":"^2.40.0","shelljs":"^0.2.6","webpack":"^1.12.12","grunt-notify":"^0.3.0","grunt-prompt":"^1.1.0","grunt-release":"^0.13.0","grunt-webpack":"^1.0.11","jshint-stylish":"^0.1.5","grunt-port-pick":"^1.5.0","load-grunt-tasks":"^3.4.0","webpack-dev-server":"^1.14.1","grunt-contrib-clean":"^0.7.0","grunt-contrib-watch":"~0.5.3","grunt-contrib-jshint":"~0.7.2","grunt-contrib-connect":"^0.7.1","grunt-conventional-changelog":"^5.0.0"},"_phantomChildren":{},"optionalDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/get-path-string-with-two-bends-1.1.0.tgz_1467146445976_0.1957985106855631","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-02-17T20:20:19.921Z","modified":"2026-02-27T17:28:20.646Z","1.0.0":"2016-02-17T20:20:19.921Z","1.1.0":"2016-06-28T20:40:48.392Z"},"author":{"name":"Domo Inc."},"license":"SEE LICENSE IN LICENSE","keywords":["app","domo"],"repository":{"type":"git"},"description":"getPathStringWithTwoBends - Domo Widget","maintainers":[{"email":"trevor.tingey@domo.com","name":"ttingey"},{"email":"morganjohn12@gmail.com","name":"morganjohn12"},{"email":"jeff.smith@domo.com","name":"jeff.smith"},{"email":"cgrieb9@gmail.com","name":"congrieb"},{"email":"spencer@myweb-host.net","name":"th3uiguy"},{"email":"jason.hansen@domo.com","name":"domo_json"},{"email":"jon.tiritilli@domo.com","name":"jontiritilli-domo"}],"readme":"# getPathStringWithTwoBends\n\nThis lib will provide access to the following function.\n* getPathStringWithTwoBends\n\nThis function has been overloaded to handle two different sets of inputs.\nPassing 4 arguments assumes you will be passing two pints in (x1, y1) form\nPassing 5 arguments assumes you will be passing the starting point, and then bend deltas for y1, x1, and y2\n\n```javascript\n//----------------------------------------------------------------------------------\n// Example using 4 arguments getPathStringWithTwoBends\n//----------------------------------------------------------------------------------\n var d = {x1:0, y1:0, x2:10, y2:10};\n var path = svg.append('path')\n   .attr('style', 'fill:none;stroke:#90C4E3;stroke-miterlimit:10;')\n   .attr('d', getPathStringWithTwoBends(d.x1, d.y1, d.x2, d.y2) );\n\n\n//----------------------------------------------------------------------------------\n// Example using 5 arguments getPathStringWithTwoBends\n//----------------------------------------------------------------------------------\n var d = {x1:200, y1:100, x2:100, y2:100};\n var bendDeltas = getDeltas(d) // hypothetically returns { dy1, dx1, dy2 }\n var path = svg.append('path')\n   .attr('style', 'fill:none;stroke:#90C4E3;stroke-miterlimit:10;')\n   .attr('d', getPathStringWithTwoBends(d.x1, d.x2, bendDeltas.dy1, bendDeltas.dx1, bendDeltas.dy2));\n```","readmeFilename":"README.md"}