# Subgraph breadcrumb

**Category:** Interaction  
**Live demo:** https://xenolithengine.github.io/xenolith-graph/examples/breadcrumb-dive/  
**Frameworks shipped:** vanilla, react

## Description

Nested template instances (Pipeline → Stage → primitives). Dive in by double-click OR programmatically; the breadcrumb in the top-left tracks the path (Root › Pipeline › Stage) and pops any segment. Auto-themed via --xeno-*. Opt-out with `editor.setBreadcrumbVisible(false)`.

## Source files

  - [vanilla] vanilla/breadcrumb-dive.ts
  - [vanilla] shared/breadcrumb-dive.ts
  - [react] demos/BreadcrumbDiveDemo.tsx
  - [react] shared/breadcrumb-dive.ts

## How to use this example

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