UNPKG

@vue-flow/minimap

Version:

This is a minimap component for Vue Flow. It can be used to add a minimap to the canvas, which will show a smaller version of the canvas with your nodes. The minimap can also be used to pan and zoom the main canvas.

80 lines 2.12 kB
{ "name": "@vue-flow/minimap", "version": "1.5.4", "private": false, "license": "MIT", "author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>", "repository": { "type": "git", "url": "git+https://github.com/bcakmakoglu/vue-flow/packages/plugins/minimap" }, "homepage": "https://github.com/bcakmakoglu/vue-flow#readme", "bugs": { "url": "https://github.com/bcakmakoglu/vue-flow/issues" }, "keywords": [ "vue", "flow", "diagram", "editor", "graph", "node", "link", "port", "slot", "vue3", "composition-api", "vue-flow", "vueflow", "typescript" ], "main": "./dist/vue-flow-minimap.js", "module": "./dist/vue-flow-minimap.mjs", "types": "./dist/index.d.ts", "unpkg": "./dist/vue-flow-minimap.iife.js", "jsdelivr": "./dist/vue-flow-minimap.iife.js", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/vue-flow-minimap.mjs", "require": "./dist/vue-flow-minimap.js" }, "./dist/style.css": "./dist/style.css" }, "files": [ "dist", "*.d.ts" ], "sideEffects": false, "peerDependencies": { "@vue-flow/core": "^1.23.0", "vue": "^3.3.0" }, "dependencies": { "d3-selection": "^3.0.0", "d3-zoom": "^3.0.0" }, "devDependencies": { "@types/d3-selection": "^3.0.7", "@types/d3-zoom": "^3.0.5", "vue-tsc": "^1.8.16", "@tooling/eslint-config": "0.0.0", "@tooling/tsconfig": "0.0.0", "@vue-flow/core": "1.46.0", "@tooling/vite-config": "0.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "dev": "pnpm types:watch & pnpm build:watch", "build": "vite build", "build:watch": "vite build --watch", "types": "vue-tsc --declaration --emitDeclarationOnly && pnpm lint:dist", "types:watch": "vue-tsc --declaration --emitDeclarationOnly --watch", "lint": "eslint --ext .js,.ts,.vue ./", "lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix --ignore-pattern !**/* ./dist", "test": "exit 0" } }