Utilities · sync
diagram-forge
Text DSL → rendered SVG diagrams. No headless browser needed.
DSL input
About
diagram-forge wraps nomnoml — the well-loved pure-JS diagram renderer. Source format is a one-line-per-edge DSL: `[Buyer] -> [orqis API]`. Compound nodes, classifiers, associations, notes and decorators all supported.
Four built-in styles (default, ink, vintage, minimal) set fonts, fills, and stroke weights to match the look of your docs. Pass `direction: 'right'` for left-to-right layouts, omit it for top-down.
Use it for: README architecture diagrams, ad-hoc whiteboard captures, agent-generated docs (Claude can emit nomnoml from a high-level description in one shot).
{
"type": "object",
"required": [
"source"
],
"properties": {
"source": {
"type": "string",
"maxLength": 20000,
"description": "nomnoml DSL source."
},
"direction": {
"type": "string",
"enum": [
"down",
"right"
],
"default": "down"
},
"style": {
"type": "string",
"enum": [
"default",
"ink",
"vintage",
"minimal"
],
"default": "default"
}
}
}These are descriptive previews. Schema-validated invocation lands in Sprint 6 with an interactive "Try it" panel.
Reviews (0)
No reviews yet — be the first to share your experience.