swarmvault graph share
Print a shareable summary of the current compiled graph.
Usage
swarmvault graph share
swarmvault graph share --post
swarmvault graph share --svg
swarmvault graph share --svg ./share-card.svg
swarmvault graph share --bundle
swarmvault graph share --bundle ./share-kit
swarmvault graph share --jsonWhat It Reads
graph share reads state/graph.json and wiki/graph/report.json, then renders the same summary shape generated at wiki/graph/share-card.md, wiki/graph/share-card.svg, and wiki/graph/share-kit/ during compile.
The share artifact includes:
- source, page, node, edge, and community counts
- top hubs and bridge nodes
- surprising graph links when the report found them
- suggested follow-up questions
- a short copyable post
- a 1200x630 SVG visual card
- a portable share kit with markdown, post text, SVG, self-contained HTML preview, and JSON metadata
Options
--post- Print only the compact post text--svg [path]- Write the visual SVG share card, defaulting towiki/graph/share-card.svg--bundle [dir]- Write the portable share kit, defaulting towiki/graph/share-kit--json- Emit the structured share artifact; with--svg, also includesvgPath; with--bundle, also includebundlePathand named output paths
Typical Flow
swarmvault scan ./your-repo --no-serve
swarmvault graph share --post
swarmvault graph share --svg ./share-card.svg
swarmvault graph share --bundle ./share-kit
swarmvault graph serveUse this when you want the fastest public-facing summary after a first scan, status update, or demo. The bundle is the easiest way to post text, link a small HTML preview, or screenshot the visual card from one folder. For richer inspection, open wiki/graph/share-card.md, wiki/graph/share-card.svg, wiki/graph/share-kit/share-preview.html, wiki/graph/report.md, or the live graph viewer.