- Foldable left panel (user profile) and right panel (task details) - Clicking a task in the list or graph node selects it and shows details - Both views (task list + graph) always mounted via absolute inset-0 for correct canvas dimensions; tabs toggle visibility with opacity - Graph node selection animation: other nodes repel outward (charge -600), then selected node smoothly slides to center (500ms cubic ease-out), then charge restores to -120 and graph stabilizes - Graph re-fits on tab switch and panel resize via ResizeObserver - Fix UUID string IDs throughout (backend returns UUIDs, not integers) - Add TaskDetailPanel, UserPanel components - Add CLAUDE.md project documentation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"name": "react-force-graph-2d",
|
|
"version": "1.29.1",
|
|
"description": "React component for 2D force directed graphs",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"unpkg": "dist/react-force-graph-2d.min.js",
|
|
"jsdelivr": "dist/react-force-graph-2d.min.js",
|
|
"main": "dist/react-force-graph-2d.mjs",
|
|
"module": "dist/react-force-graph-2d.mjs",
|
|
"types": "dist/react-force-graph-2d.d.ts",
|
|
"exports": {
|
|
"types": "./dist/react-force-graph-2d.d.ts",
|
|
"umd": "./dist/react-force-graph-2d.min.js",
|
|
"default": "./dist/react-force-graph-2d.mjs"
|
|
},
|
|
"sideEffects": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vasturiano/react-force-graph.git"
|
|
},
|
|
"homepage": "https://github.com/vasturiano/react-force-graph",
|
|
"keywords": [
|
|
"react",
|
|
"force",
|
|
"graph",
|
|
"2d",
|
|
"canvas"
|
|
],
|
|
"author": {
|
|
"name": "Vasco Asturiano",
|
|
"url": "https://github.com/vasturiano"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/vasturiano/react-force-graph/issues"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf dist && rollup -c",
|
|
"dev": "rollup -w -c rollup.config.dev.js",
|
|
"prepare": "npm run build"
|
|
},
|
|
"files": [
|
|
"dist/**/*"
|
|
],
|
|
"dependencies": {
|
|
"force-graph": "^1.51",
|
|
"prop-types": "15",
|
|
"react-kapsule": "^2.5"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*"
|
|
},
|
|
"devDependencies": {
|
|
"rimraf": "^6.1.2",
|
|
"rollup": "^4.57.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=12"
|
|
}
|
|
}
|