oompa
🌊Factory Flows/OMP-1003

/weave

Insert an entity-relationship diagram

Create entity-relationship diagrams (ER/ERD) showing database schemas, data models, and relationships. Smart-fill detects schema keywords and auto-populates entities.

schemadata-modelrelationship
For: data architects, backend engineers
Integrates with: traceoariel

Live Demo

See /weave in action with CSS-animated examples.

MERMAID: /weave
erDiagram
  USER ||--o{ ORDER : places
  ORDER ||--|{ ITEM : contains

Rationale

ER diagrams are critical for data system documentation and Traceo verification. "Weave" = threads interlocking = entity relationships.

Acceptance Criteria

  • /weave creates blank ER template with 2 sample entities
  • If doc mentions "user", "order", "payment", entities auto-populate
  • User can define attributes, primary keys, foreign keys
  • On save, creates Ariel baseline for diagram config + Traceo snapshot

Demo Type

mermaidInteractive diagram (flowchart, gantt, ER, tree, network, cycle)

Semantic Layers

schema
data-model
relationship

Federation Integration

This command syncs with the following systems on save:

Traceo

Requirement snapshots, verification matrix, status sync

Ariel

Diagram baselines, config registration, version control

Requirements Traceability

Specification: OMP-1003

This command is defined in oompa-spec.yaml and part of the official requirement catalog.