RAG 检索增强生成. Copy the source, paste into the official playground, done. No coordinates — every position is stated relative to something else.
node docs "Documents"
node chunk "Chunking" below docs
node embed "Embedding model" below chunk
node vectordb "Vector DB" below embed
node query "User query" right of embed
node retrieve "Retriever" below query
node llm "LLM" below retrieve
edge docs -> chunk
edge chunk -> embed
edge embed -> vectordb
edge query -> retrieve
edge vectordb -> retrieve "top-k"
edge retrieve -> llm "context"npx reladraw rag-pipeline.reladraw -o out.svgDocuments chunked and embedded into a vector store; queries retrieve top-k context into the LLM.. Use it to explain retrieval-augmented generation to both engineers and stakeholders — the two-column shape separates indexing from querying.
node new_id 'New label' below anchor — placement is relative, so the solver re-flows the whole diagram instantly.edge a -> b 'your label' — labels are the fastest way to carry rates, protocols or percentages.below to right of rotates a branch sideways without touching any other line.Declare each box with node, connect them with edge, and state one position per node relative to another. Paste the source from this page into the official playground and it renders immediately.
Yes — the source is free to copy, modify and ship in docs, READMEs, books or client decks. No attribution required.
Render in the playground and export SVG, or run it locally: npx reladraw file.reladraw -o out.svg for CI-friendly builds.