Install
openclaw skills install graphvizGenerate SVG images from Graphviz DOT graphs using WebAssembly. Uses the graphviz_component.wasm running in the openclaw-wasm-sandbox plugin. No graphviz system binary or execution permission required.
openclaw skills install graphvizGenerate SVG images from Graphviz DOT graph descriptions using WebAssembly.
Trigger when:
openclaw-wasm-sandbox~/.openclaw/skills/graphviz/files/graphviz_component.wasm (Use the wasm-sandbox-download tool to download,URL: https://raw.githubusercontent.com/guyoung/wasm-sandbox-openclaw-skills/main/graphviz/files/graphviz_component.wasm)The WASM component:
Use wasm-sandbox-run tool:
| Parameter | Value |
|---|---|
wasmFile | ~/.openclaw/skills/graphviz/files/graphviz_component.wasm |
args | DOT graph string, e.g. ["digraph { a -> b }"] |
wasm-sandbox-run({
wasmFile: "~/.openclaw/skills/graphviz/files/graphviz_component.wasm",
args: ["digraph { a -> b }"]
})
wasm-sandbox-run with DOT string in argsdigraph name { # Directed graph
a -> b # Edge from a to b
b -> c
a [label="Node A"] # Node with label
b [shape=box] # Node shape
}
graph name { # Undirected graph
a -- b
b -- c
}
Common node attributes: label, shape (box, circle, diamond, triangle), color, style (filled, dashed)
Common edge attributes: label, color, style, dir (forward, back, both, none)