# Mobile / tablet (touch demo)

**Category:** Interaction  
**Live demo:** https://xenolithengine.github.io/xenolith-graph/examples/mobile-touch/  
**Frameworks shipped:** vanilla

## Description

Touch-first demo for testing pinch, two-finger pan, long-press context menu, and the drawer-mode palette on narrow viewports. Includes a fullscreen toggle. Open this URL on an iOS device or in the iOS Simulator — see docs/TESTING-ON-IOS-SIMULATOR.md.

## Source files

  - [vanilla] vanilla/mobile-touch.ts

## How to use this example

Open the live demo at https://xenolithengine.github.io/xenolith-graph/examples/mobile-touch/ 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
