A tool to export diagrams of programs, read via language servers or LSIF (language server index format)
$ npm install --save-dev language-server-diagram-tool
lsif tsc -p ../vscode-lsif-extension/tsconfig.json --package ../vscode-lsif-extension/package.json --out temp/vscode-lsif-extension.lsif.jsonl
ts-node ./lsif/extract-react-component-diagram.mts temp/vscode-lsif-extension.lsif.jsonl
MIT © Kevin C.