aws-samples / aws-samples/sample-drawio-mcp

SPIKE: Propose Addressable Content Areas Spec

Open
#4 1 comment 0 reactions 1 assignee Claimed by @adiadd View on GitHub
Dominant language
JavaScript
Stars
21
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When an AI agent builds a diagram through the MCP server, it must reason about every coordinate and spatial relationship from scratch. This produces inconsistent layouts and wastes agent context on geometry instead of content.

Addressable content areas would let a human pre-define named regions in a draw.io diagram—think of them as slots or placeholders—that an agent can discover and write into by name. The agent focuses on what goes in each region; the diagram template controls where things go.

The exact form this takes is an open question. It might be container groups with metadata tags, `` wrappers with custom attributes, or something else that draw.io and mxGraph already support. This spike investigates the available primitives, evaluates implementation options with round-trip compatibility as a key constraint, and proposes a specification for the feature.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.