Now In Code
Get access

Node Graph Explorer with Detail Panel

Gray nodes joined by thin arcs sit on a dark canvas; the focused node becomes a cyan disc with inbound edges showing flowing arrows. A side panel lists status, tabs and memory, storage and CPU bars. Nodes drag and spring back. HTML and react-native-svg.

Inspired by a design posted on PinterestRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "node-graph-explorer-with-detail-panel" to this project.

The full source is attached at the end of this prompt. Put the files under components/node-graph-explorer-with-detail-panel/, install the listed dependencies with `npx expo install`, and render it on a route I can open.

Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply.

=== Source files are attached here for paid plans ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
Web
Requires
Expo SDK 54+
Access
Pro
Updated
18 Nov 2026
License
Unlimited commercial projects
Original design
Pinterest

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs

What it does

A landscape network-diagram screen at tablet or laptop proportions. A dark canvas holds about thirty gray nodes joined by edges, with a legend and a toggle at the bottom. Hovering a node for a short moment, or clicking it, focuses it: the node grows, its label slides in, edges pointing at it turn cyan and carry flowing arrows. A white-header side panel then shows the node's details with Info, Inbound and Outbound tabs, status dot, memory, storage and CPU bars, and a stop and start button. Nodes can be dragged, and neighbours follow gently before springing back. The legend toggle recolors nodes by health.

How it's built

Everything is rendered as SVG with react-native-svg from a display list computed by one shared JavaScript core, which also holds the data, state machine, hit testing and physics. The physics is hand-written rather than a force-graph library: each node has an anchor spring, edges act as length springs, and a minimum-distance collision keeps them apart, integrated at a fixed step with velocity damping. Content cross-fades on focus or tab changes. The component scales a 1280 by 800 design to its width and reads pointer coordinates from the root view.

Good for

  • An infrastructure or service dependency explorer in an admin tool
  • A relationship browser where selecting a node reveals inbound and outbound links
  • A tablet or desktop master and detail layout with a live diagram on one side

Dependencies

react-native-svgreact-native

Tags

Data and AnalyticsButtonCardChartWork and CollaborationCrossfadeDark ModeDragHealth and FitnessMinimalPath DrawingPhysics SimulationProgress BarState TransitionTabsToggle Switch

Related