ServiceMap

Organism

Services and the calls between them on a deterministic layered layout (no graph library): rate, error and latency badges, pan and zoom, roving-focus keyboard navigation along the call graph, and a selection slot. Errors are never colour alone: a warning icon and percentage, a heavier border and a dashed edge.

Default

Preview
Code
<ServiceMap nodes={nodes} edges={edges} />

With a selection and a custom panel

Preview

payments: called by 1, calls 2.

Code
<ServiceMap nodes={nodes} edges={edges} renderSelection={(node, { incoming, outgoing }) => <Panel node={node} />} />

Right to left

Preview
Code
<div dir="rtl"><ServiceMap nodes={nodes} edges={edges} /></div>
Sourcemodules/ui/ServiceMap/index.tsx