radial sugiyama positioning integration
This commit is contained in:
@@ -19,6 +19,23 @@ Open: `http://localhost:5173`
|
||||
## Configuration
|
||||
|
||||
- `VITE_BACKEND_URL` controls where `/api/*` is proxied (see `frontend/vite.config.ts`).
|
||||
- The right-side cosmos graph reads these `VITE_...` settings at dev-server startup:
|
||||
- `VITE_COSMOS_ENABLE_SIMULATION`
|
||||
- `VITE_COSMOS_DEBUG_LAYOUT`
|
||||
- `VITE_COSMOS_SIMULATION_REPULSION`
|
||||
- `VITE_COSMOS_SIMULATION_LINK_SPRING`
|
||||
- `VITE_COSMOS_SIMULATION_LINK_DISTANCE`
|
||||
- `VITE_COSMOS_SIMULATION_GRAVITY`
|
||||
- `VITE_COSMOS_SIMULATION_CENTER`
|
||||
- `VITE_COSMOS_SIMULATION_DECAY`
|
||||
- `VITE_COSMOS_SIMULATION_FRICTION`
|
||||
- `VITE_COSMOS_SPACE_SIZE`
|
||||
- `VITE_COSMOS_CURVED_LINKS`
|
||||
- `VITE_COSMOS_FIT_VIEW_PADDING`
|
||||
- The right pane keeps a static camera after an explicit `fitViewByPointPositions(...)` from the current seed positions.
|
||||
- `VITE_COSMOS_SIMULATION_CENTER` is the main knob for keeping the graph mass near the viewport center during force layout.
|
||||
- `VITE_COSMOS_DEBUG_LAYOUT=true` enables a small debug overlay and `console.debug` logs for graph-space centroid/bounds, screen-space origin/centroid placement, zoom, alpha/progress, and space-boundary pressure.
|
||||
- In Docker Compose, set them in the repo-root `.env` and restart the `frontend` service.
|
||||
|
||||
## UI
|
||||
|
||||
|
||||
Reference in New Issue
Block a user