{"uid":"cap_7uQAkt8ho3pZYOCALQCdL","slug":"anokha-web-tools-graphviz-diagram-renderer-318ab9cf","name":"Anokha Web Tools – Graphviz Diagram Renderer","description":"Pay-per-call tools for AI agents: web to Markdown, PDF text, Markdown to PDF, charts, diagrams, QR, page publishing, DNS, RDAP, TLS. x402, USDC on Base, no API key.","url":"https://tools.anokha.space/v1/diagram?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"dot":{"type":"string","description":"Graphviz DOT source"},"engine":{"enum":["dot","neato","fdp","circo","twopi"],"type":"string"},"format":{"enum":["svg","png","pdf"],"type":"string"}}},"responseSchema":{"type":"json","example":{"url":"https://tools.anokha.space/f/abc123def456.svg","bytes":20480,"expires":"2026-10-25T00:00:00Z","content_type":"image/svg+xml"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IKtU_ajzW9C9HanB68geo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a Graphviz DOT source string into an SVG, PNG, or PDF diagram using a chosen layout engine, returning a hosted file URL","exampleAgentPrompt":"Can you render this Graphviz DOT source into an SVG using the dot layout engine? `digraph G { A -> B -> C; A -> C; }` — I need a hosted URL I can embed in a report.","exampleUseCases":[{"title":"Architecture diagram for a tech spec","prompt":"Here's a DOT graph of our microservices: `digraph arch { API -> Auth; API -> DB; Auth -> DB; }` — render it as an SVG using the dot engine and give me the URL so I can drop it into our design doc."},{"title":"Circular org-chart visualization","prompt":"Turn this DOT source into a PNG using the circo layout engine: `digraph org { CEO -> CTO; CEO -> CFO; CTO -> Dev1; CTO -> Dev2; }` — I want to use it in a slide deck."},{"title":"Network topology diagram as PDF","prompt":"Render this network topology DOT diagram as a PDF using the fdp engine: `graph net { router -- switch1; router -- switch2; switch1 -- host1; switch2 -- host2; }` — I need to attach it to a client report."}],"resultDescription":"A JSON object containing: a hosted URL pointing to the rendered diagram file (SVG, PNG, or PDF), the file size in bytes, an expiry date after which the file is no longer available, and the MIME content type of the output.","failureModes":["Invalid or malformed DOT source causes a parse error response","Unsupported engine or format enum value results in a 400 bad request","Payment failure via x402/USDC on Base blocks the call","Large or complex graphs may time out during rendering","Expired file URL is returned after the expiry date is reached"],"whenToPreferThis":"Choose this endpoint when you need to programmatically render Graphviz DOT notation into a hosted image or PDF file without managing a Graphviz installation, and you want a pay-per-call model with no API key using USDC on Base. It is ideal for AI agents that generate DOT source dynamically and need an immediately embeddable URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:49:31.831Z","isFirstParty":false,"canonicalSlug":"anokha-web-tools-graphviz-diagram-renderer-318ab9cf"}