Klar

Charts / React engineering charts / Maps & networks

Network graph

A service call graph laid out by a seeded force simulation, with communities coloured and hubs sized by degree, to show who depends on whom.

React component NetworkGraph, data through props. Data placed on a map, or things wired to and weighed against each other. Tags: network, graph, force-directed, nodes, edges, communities, dependency.

Install

npm i klar-charts

import 'klar-charts/styles.css'
import { ThemeScope, NetworkGraph } from 'klar-charts'

# or copy the source:
npx shadcn@latest add https://klar.run/r/tech-network.json

Usage

<NetworkGraph nodes={netNodes} links={netLinks} groups={netGroups} height={430} directed format={(v) => v.toFixed(1)} unit="k rps" />

Related network graph charts