Skip to content

ui: draw diagrams with trick77/diagram - #399

Merged
trick77 merged 1 commit into
masterfrom
diagram-pkg
Nov 22, 2026
Merged

trick77 merged 1 commit into
masterfrom
diagram-pkg

Conversation

@trick77

@trick77 trick77 commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Diagrams are drawn by the shared package @trick77/diagram 0.1.3 instead of rongo's own copy of the layout, drawing, mermaid adapter, card and full view (about 7.9k lines removed). rongo keeps the legacy JSON fence, the clipboard rewrite, the pending and error states, PlantUML and its overlay shell. Every corpus card and download is unchanged; the full view now sizes to the drawing.

The answer prompt asks for two shapes the package adds: lanes where work passes between roles, and class diagrams for how types are built. Measured on a fixed context, MiMo flash, two runs per arm: class questions drew a class diagram 4 of 4 (base 0 of 4), lane questions drew lanes 2 of 4 (base 0 of 4; the misses are a valid flowchart and sequence), rubric 37/38 against 35/38, the control question stays an entity diagram. Details in docs/measurements/2026-11-22-lanes-and-classes.md.

@trick77
trick77 marked this pull request as draft November 22, 2026 14:26
@trick77
trick77 force-pushed the diagram-pkg branch 3 times, most recently from eb3c77b to c2736ae Compare November 22, 2026 16:23
@trick77
trick77 marked this pull request as ready for review November 22, 2026 16:23
Layout, drawing, mermaid adapter, card and full view come from
@trick77/diagram 0.1.3 instead of rongo's copy (about 7.9k lines out).
rongo keeps the legacy JSON fence, the clipboard rewrite, the pending and
error states, PlantUML and its overlay shell. Corpus cards and downloads
are unchanged; the full view sizes to the drawing.

The answer prompt asks for lanes where work passes between roles and a
class diagram for how types are built. Measured on a fixed context, MiMo
flash, two runs per arm: class 4 of 4 (base 0 of 4), lanes 2 of 4 (base
0 of 4, the misses valid flowchart and sequence), rubric 37/38 against
35/38, the control stays an entity diagram
(docs/measurements/2026-11-22-lanes-and-classes.md).

The harness tallies lanes apart from flowcharts (ask.DiagramShape) and
reads a fence's kind past front matter, as the browser does.
@trick77
trick77 merged commit f760b17 into master Nov 22, 2026
1 check passed
@trick77
trick77 deleted the diagram-pkg branch November 22, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant