Files
cortex/portal/package.json
omigamedev d1e3adcb3c Fix blank portal: add root element heights, use dagre for graph layout
- Set explicit height on html/body/#root so React Flow container renders
- Replace @dagrejs/dagre (broken CJS dynamic require) with dagre v0.8.5
- Hierarchical top-down layout with dagre, arrow markers on edges
- Move React Flow controls to top-right to avoid floating button overlap
2026-02-02 19:20:53 +01:00

29 lines
641 B
JSON

{
"name": "cortex-portal",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.62.0",
"@types/dagre": "^0.7.53",
"@xyflow/react": "^12.4.0",
"dagre": "^0.8.5",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@tailwindcss/vite": "^4.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.0",
"tailwindcss": "^4.0.0",
"typescript": "^5.9.0",
"vite": "^6.0.0"
}
}