Generate diagrams from natural language descriptions and return a clickable link to GraphvizOnline with the rendered preview.
https://dreampuf.github.io/GraphvizOnline/# + URL-encoded DOT codedigraph for directed graphs (architecture, flows, dependencies, state machines)graph for undirected graphs (relationships, peer networks)rankdir=LR for wide/horizontal layouts (architecture, pipelines)rankdir=TB for tall/vertical layouts (flowcharts, hierarchies)box or component -- services, applications, modulescylinder -- databases, storageellipse -- users, actors, external systemsdiamond -- decision points (flowcharts)folder -- directories, namespaces, packagesnote -- annotations, commentsrecord -- structured data, ER entities (use syntax for fields)doublecircle -- start/end states (state machines)circle -- intermediate statessubgraph cluster_name { label="Group Name"; ... } to group related componentsstyle=filled; color=lightgrey;fontname="Helvetica" on the graph for clean renderingstyle=dashed for optional or async connections-> with [label="HTTP"], [label="gRPC"], [label="publishes"]style=dashed for async/optional connectionsdir=both for bidirectional relationshipsConstruct the GraphvizOnline URL by URL-encoding the entire DOT source and appending it as a hash fragment:
https://dreampuf.github.io/GraphvizOnline/#<URL-encoded DOT code>
The DOT code must be encoded with standard percent-encoding (spaces -> %20, newlines -> %0A, etc.).
Always output in this order:
Example output structure:
> Architecture showing the API gateway routing to backend services:
>
> ```dot
> digraph { ... }
> ```
>
共 1 个版本