Skip to content

docs(rwm): trim deliberate-trade-off prose + align diagram with dj.Diagram notation#186

Open
dimitri-yatsenko wants to merge 3 commits into
mainfrom
wip/trim-rwm-deliberate-tradeoff
Open

docs(rwm): trim deliberate-trade-off prose + align diagram with dj.Diagram notation#186
dimitri-yatsenko wants to merge 3 commits into
mainfrom
wip/trim-rwm-deliberate-tradeoff

Conversation

@dimitri-yatsenko

@dimitri-yatsenko dimitri-yatsenko commented Jun 13, 2026

Copy link
Copy Markdown
Member

Summary

Two related cleanups on src/explanation/relational-workflow-model.md:

  1. Trim the "deliberate trade-off" subsection. After Expand Relational Workflow Model concept page #184 (expanded RWM intro) and Add two deeper concept pages: Schema as a Workflow Specification + Comparison to Workflow Languages #185 (new Comparison to Workflow Languages page), the same argument lived in two places. Now: one-paragraph mention on the RWM page that links out to the developed treatment on the Comparison page.

  2. Align the worked-example diagram with dj.Diagram notation. The Mermaid in the page now matches the actual conventions from datajoint-python/src/datajoint/diagram.py:1017-1082:

    • Manual: green rectangle
    • Lookup: plaintext (no border/fill) — was previously a filled rectangle
    • Imported: blue stadium shape (closest Mermaid approximation to Graphviz ellipse)
    • Computed: red stadium shape (same)
    • Inline tier-name and make() annotations on each node removed; tier is conveyed by shape + color, as in real dj.Diagram output.
    • A lead paragraph above the diagram spells out the convention.

Also removes the .github/follow-ups/trim-rwm-deliberate-tradeoff.md tracker that scheduled the first cleanup.

Test plan

  • mkdocs build --strict succeeds (no new broken links/anchors)
  • RWM page reads cleanly from the worked example into "Substrate consequences"
  • Diagram renders in MkDocs Mermaid preview with correct shapes and colors
  • Link from RWM → Comparison resolves

Placeholder for follow-up work after #184 (expand RWM) and #185 (deeper
concept pages) merge. Tracker file outlines what to trim, why, and how to
pick the work up once both upstream PRs land.

No content changes to docs source in this PR. The tracker file is to be
deleted in the same commit that applies the trim.
The developed argument lives on the Comparison to Workflow Languages
page (added in #185). The RWM page now mentions the trade-off in one
paragraph and links out, preventing drift between two homes for the
same argument.

Removes the .github/follow-ups/ tracker that scheduled this work.
@dimitri-yatsenko dimitri-yatsenko force-pushed the wip/trim-rwm-deliberate-tradeoff branch from c60ffe6 to cbb578f Compare June 14, 2026 16:01
@dimitri-yatsenko dimitri-yatsenko changed the title WIP: trim deliberate-trade-off prose from RWM page (depends on #184 + #185) docs(rwm): trim deliberate-trade-off prose; link to Comparison page Jun 14, 2026
@dimitri-yatsenko dimitri-yatsenko marked this pull request as ready for review June 14, 2026 16:01
Match the conventions from datajoint-python's dj.Diagram
(diagram.py:1017-1082):

- Manual: green rectangle (unchanged)
- Lookup: plaintext — no border/fill (was a filled rectangle)
- Imported: blue stadium-shaped node — closest Mermaid approximation
  to dj.Diagram's ellipse
- Computed: red stadium-shaped node — same

Drop the inline tier-name and make() annotations on each node; tier
is now conveyed by shape and color alone, as in the real diagrams.
A new lead paragraph spells out the convention so the reader can
decode the diagram without a separate legend.
@dimitri-yatsenko dimitri-yatsenko changed the title docs(rwm): trim deliberate-trade-off prose; link to Comparison page docs(rwm): trim deliberate-trade-off prose + align diagram with dj.Diagram notation Jun 14, 2026
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