Skip to content
Fourohtwo

format.halowerk.com/v1/graphviz-render

Lay out a Graphviz DOT graph with dot, neato, fdp, sfdp, circo, twopi, osage or patchwork and return SVG and/or PNG with node and edge counts. Graphviz compiled to WebAssembly (@hpcc-js/wasm-graphviz 1.30) runs inside a sandboxed Chrome renderer with network blocked, so a pathological graph cannot exhaust the API process. Syntax errors return the Graphviz message; file-reading attributes (image, s

BaseAnswering
POSThttps://format.halowerk.com/v1/graphviz-render

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://format.halowerk.com/v1/graphviz-render", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"dot":"digraph G { rankdir=LR; order -> invoice -> payment; order -> shipment; }","engine":"dot"}),
});
console.log(await res.json());

Example input

{
  "dot": "digraph G { rankdir=LR; order -> invoice -> payment; order -> shipment; }",
  "engine": "dot"
}