About
A physics-based force-directed graph chart that lays out nodes and their connections using spring simulation, useful for visualizing entity relationships and clusters.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Force Directed Network Chart to your project and fits it to your theme.
Code
How Force Directed Network Chart is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { ForceDirectedNetwork } from "@/components/ui/tanstack-charts-force-directed-network";
export default function ForceDirectedNetworkDemo() {
return (
<div className="flex w-full items-center justify-center p-6">
<ForceDirectedNetwork />
</div>
);
}








