Skip to content
caliper ui pro docs

Graph orbit

A relationship graph in true 3D. In two dimensions 56 services and their links overlap into noise; in three, each team is its own cloud and a link between clouds is a line you can follow. Near nodes are larger and darker, far ones smaller and fainter, so depth reads without turning. Pick a node and its neighbours stand out while the rest recede.

Pro

Drag to turn the graph. Choose a service to see what it connects to.

56 services · 107 links. Showing the busiest first.

When to use

  • Service dependencies, ownership maps and any network with clusters you want to keep apart.
  • Exploring who connects to whom, then reading the answer in words.

When not to use

  • Fewer than about 12 nodes, which a flat diagram shows better.
  • Exact path-finding or layout editing; this is for looking, not for drawing.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/graph-orbit

Adds its 9 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

GraphOrbit

14 props
PropTypeDefaultDescription
label *string—Names the graph for screen readers, for example "Dependency graph of 56 services".
nodes *readonly GraphNode[]—
edges *readonly GraphEdge[]—Links between node ids. Unknown ids, self links and repeats are ignored.
groupsreadonly GraphGroup[]—Names the clusters. Without it, the distinct `group` values of the nodes are used as they are.
selectedstring | null—The selected node id, or null. Controlled when set.
defaultSelectedstring | nullnull
onSelect((id: string | null) => void)—
nounstring"node"What a node is called in the search box and the card, for example "service".
pluralstring`${noun}s`
statusDepthStatus"ready"
messagesDepthMessages—
onRetry(() => void)—
disabledboolean—
classNamestring—

Keyboard

←
Moves to the previous item or value.
→
Moves to the next item or value.
↑
Moves to the previous item or value.
↓
Moves to the next item or value.
Escape
Closes or cancels, then returns focus to where it came from.
Enter
Activates the focused control.

Accessibility

It exposes group semantics, with aria-label, aria-pressed and aria-live kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/graph-orbit.md

The index of every part is at /llms.txt.

More in Showpiece charts