drawarch

v0.2.0
io.github.Ajey95/drawarch Checked 3 days ago Published 3 months ago

Create editable Draw.io architecture diagrams from prompts and reference images.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_themes List DrawArch Themes

List selectable visual themes for editable animated diagrams.net architecture diagrams.

list_assets Search Bundled SVG Assets

Search safe bundled real-world SVG architecture assets by name, alias, tag, category, or provider.

ParameterTypeDescription
categorystring
providerstring
querystringText such as postgres, smartphone, telemetry, or server

resolve_asset Resolve Architecture SVG

Resolve one architecture component to a safe embedded SVG using bundled assets first and online Iconify-compatible assets when enabled.

ParameterTypeDescription
query *string
allowOnlineboolean
categorystring
providerstring

create_drawio Create Editable Architecture Diagram

Generate a self-contained native .drawio architecture with selectable theme, real SVGs, deterministic layout, animated colour-coded datapaths, and editable objects.

ParameterTypeDescription
layout *string
nodes *array
outputFile *string
theme *string
title *string
edgesarray
groupsarray
onlineAssetsboolean
overwriteboolean

validate_drawio Validate a DrawArch File

Validate a .drawio file inside the configured output directory for structural errors, dangling references, duplicate IDs, and unsafe images.

ParameterTypeDescription
fileName *string

prepare_reference_recreation Prepare an Exact Reference-Image Recreation

Persist the host vision model's absolute editable scene graph. DrawArch does not call another LLM. Set approved only after the user or host policy approves all online sources and the plan.

update_reference_plan Revise a Reference Recreation Plan

Create an immutable next revision of a reference plan using optimistic concurrency. Any earlier approval becomes stale.

get_reference_plan Get the Current Reference Plan

Read the latest immutable scene-graph revision before rendering or approval.

ParameterTypeDescription
planId *string

create_reference_drawio Render an Approved Reference Recreation

Resolve approved real assets, embed them, and render an exact absolute-coordinate editable .drawio artifact. Rejects stale approvals.

ParameterTypeDescription
approvalToken *string
planId *string
revision *integer

validate_reference_drawio Validate a Reference Draw.io Artifact

Validate a generated reference recreation for native Draw.io structure, IDs, references, and embedded-image safety.

ParameterTypeDescription
fileName *string

compare_reference_recreation Compare a Recreation to its Reference Plan

Measure structural coverage against the approved absolute scene graph and report missing editable elements.

ParameterTypeDescription
planId *string
revision *integer
fileNamestring