# Stress test (1000s of nodes)

**Category:** Showcases  
**Live demo:** https://xenolithengine.github.io/xenolith-graph/examples/stress-test/  
**Frameworks shipped:** react

## Description

Generate hundreds → thousands of WebGL nodes wired into a chain. Live FPS + node-count overlay top-right; the panel counter is driven by the reactive `useNodes()` hook. Zoom floor dropped to 5% so 10k+ nodes fit on one screen.

## Source files

  - [react] demos/StressTestDemo.tsx
  - [react] shared/stress-test.ts

## How to use this example

Open the live demo at https://xenolithengine.github.io/xenolith-graph/examples/stress-test/ to interact with it in the browser. The same source files are
reproduced verbatim in the page so you can copy-paste into your own project. Every example is
self-contained — pick one, copy the files, install `@xenolithengine/graph-editor` + the relevant framework
adapter, and it runs.

## See also

- Full project docs: https://xenolithengine.github.io/xenolith-graph/llms.txt
- All examples (raw): https://xenolithengine.github.io/xenolith-graph/api/graphs.jsonl
- MCP tool catalog: https://xenolithengine.github.io/xenolith-graph/api/mcp-tools.json
- Repository: https://github.com/XenolithEngine/xenolith-graph
