packages/foam-graph/README.md
Graph visualization web component for Foam, built with Lit and force-graph.
Bundled for use inside the Foam VS Code extension webview.
<foam-graph> web component — interactive force-directed graph of notes and connectionsGraphData, NodeInfo, StyleConfig, …) for communication between the extension host and the webviewimport '@foam/graph-view'; // register the web component
import type { GraphData } from '@foam/graph-view/protocol'; // message types
From the repo root:
yarn workspace @foam/graph-view test:unit # run unit tests
yarn workspace @foam/graph-view build # build lib + VS Code bundle
yarn workspace @foam/graph-view watch # watch mode (VS Code bundle)
yarn workspace @foam/graph-view lint # lint