snatching amp's walkthrough for my own purposes mwhahaha traverse.dunkirk.sh/diagram/6121f05c-a5ef-4ecf-8ffc-02534c5e767c
at main 26 lines 472 B view raw
1export interface NodeLink { 2 label: string; 3 url: string; 4} 5 6export interface NodeMetadata { 7 title: string; 8 description: string; 9 links?: NodeLink[]; 10 codeSnippet?: string; 11} 12 13export interface WalkthroughDiagram { 14 code: string; 15 summary: string; 16 nodes: Record<string, NodeMetadata>; 17 githubRepo?: string; 18 githubRef?: string; 19 createdAt?: string; 20} 21 22export interface TraverseConfig { 23 shareServerUrl: string; 24 port: number; 25 mode: "local" | "server"; 26}