Skip to content

ForceGraph

beta

D3-powered force-directed graph for counterparty networks — entity relationships, exposure connections, banking relationships

import { ForceGraph } from "@danagraph/design-system/finance"
Loading demo…

Props

nodesrequired
Type ForceNode[]Default —

Graph nodes with id, label, group, size

linksrequired
Type ForceLink[]Default —

Edges with source, target, value

width
Type numberDefault —

SVG width in px (default 640)

height
Type numberDefault —

SVG height in px (default 400)

title
Type stringDefault —

Accessible chart title

semantictypeborderviz
MobileStacks / Scroll

Force graph requires min 320px for legible node labels. ViewBox-based sizing scales down gracefully.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?