{"_id":"@avario/xyflow-system","name":"@avario/xyflow-system","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@avario/xyflow-system","version":"0.0.1","private":false,"description":"xyflow core system that powers React Flow and Svelte Flow.","keywords":["node-based UI","graph","diagram","workflow","reactflow","svelteflow","xyflow"],"source":"src/index.ts","main":"dist/umd/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","exports":{".":{"node":{"types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","require":"./dist/umd/index.js","import":"./dist/esm/index.mjs"},"browser":{"import":"./dist/esm/index.js","require":"./dist/umd/index.js"},"default":"./dist/esm/index.js"}},"sideEffects":false,"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/xyflow/xyflow.git","directory":"packages/system"},"scripts":{"dev":"concurrently \"rollup --config node:@xyflow/rollup-config --watch\"","build":"rollup --config node:@xyflow/rollup-config --environment NODE_ENV:production","lint":"eslint --ext .js,.ts src","typecheck":"tsc --noEmit"},"dependencies":{"@types/d3-drag":"^3.0.7","@types/d3-selection":"^3.0.10","@types/d3-transition":"^3.0.8","@types/d3-zoom":"^3.0.8","d3-drag":"^3.0.0","d3-selection":"^3.0.0","d3-zoom":"^3.0.0"},"devDependencies":{"@types/node":"^18.7.16","@xyflow/eslint-config":"workspace:*","@xyflow/rollup-config":"workspace:*","@xyflow/tsconfig":"workspace:*","typescript":"5.4.5"},"rollup":{"globals":{"d3-selection":"d3Selection","d3-zoom":"d3Zoom","d3-drag":"d3Drag"},"vanilla":true,"name":"XYFlowSystem"},"_id":"@avario/xyflow-system@0.0.1","gitHead":"bc98bf2402541d97633a44c4dce300cee19e414b","bugs":{"url":"https://github.com/xyflow/xyflow/issues"},"homepage":"https://github.com/xyflow/xyflow#readme","_nodeVersion":"23.11.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-h5dcifdYUcDnVajyu2yy+w9V8ykEWdlHeaCveIIpCa3F2rvOMESZ3lUwCmHShCwqIsyIGFX/YXIWryTnyWRkbw==","shasum":"0b86a69188bec34773d74480b0a38e3ec4d6e22f","tarball":"https://registry.npmjs.org/@avario/xyflow-system/-/xyflow-system-0.0.1.tgz","fileCount":177,"unpackedSize":627420,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF7cuo/GBeuRaW0HIYTdSUyFPvJuMnKLfmbH6DYI0+kSAiBrZBqEtGZ40NkIoSz5lyYXBBQ+AMPLGKlj5/QhQpELhg=="}]},"_npmUser":{"name":"avario","email":"avario@hotmail.com"},"directories":{},"maintainers":[{"name":"avario","email":"avario@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xyflow-system_0.0.1_1766810627689_0.01804472817641689"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-27T04:43:47.596Z","0.0.1":"2025-12-27T04:43:47.828Z","modified":"2025-12-27T04:43:48.146Z"},"maintainers":[{"name":"avario","email":"avario@hotmail.com"}],"description":"xyflow core system that powers React Flow and Svelte Flow.","homepage":"https://github.com/xyflow/xyflow#readme","keywords":["node-based UI","graph","diagram","workflow","reactflow","svelteflow","xyflow"],"repository":{"type":"git","url":"git+https://github.com/xyflow/xyflow.git","directory":"packages/system"},"bugs":{"url":"https://github.com/xyflow/xyflow/issues"},"license":"MIT","readme":"# @xyflow/system\n\nCore system that powers React Flow and Svelte Flow.\n\n## Installation \n\n```sh \nnpm install @xyflow/system\n```\n\n## What is this package about?\n\nThe @xyflow/system package was created to have a place for vanilla utils for React Flow and Svelte Flow. The package exports helpers for edge creation, pan and zoom, dragging of nodes, general utils and lots of types. All the helpers are specifically built for React Flow and Svelte Flow so it's probably not too interesting to use them with other libraries. \n\n### XYPanZoom\n\nAdds zoom and pan for the pane. \n\n### XYDrag\n\nAdds drag for nodes and selection.\n\n### XYHandle \n\nAdds connection line drawing.\n\n### XYMinimap \n\nAdds interactive mini map (zoom and pan).\n\n### Edge utils \n\nUtil function for SVG edge path creating.\n\n### Store utils\n\nHelpers for store functions.\n\n### Dom utils\n\n### Marker utils\n\n### Graph utils\n\n### General utils \n\n\n","readmeFilename":"README.md","_rev":"1-faf22e0f71dffa033197c57685001c2d"}