Closed Bug 2090013 Opened 23 days ago Closed 21 days ago

Add the Mermaid layout and overlapping-label rules measured under ELK to the documentation skill

Categories

(Developer Infrastructure :: AI for Development, task)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 external file)

Since firefox-source-docs moved to Mermaid 12 and the ELK layout (bug 2084585, bug 2084613), several diagram rules measured on Mermaid 12.2.0 are missing from the documentation skill's references/mermaid.md:

  • A numbered cycle zig-zags when its edges are declared in step order, which the reference recommends for a pipeline. Declaring the later round trip's edges first makes it read as a loop, and a %% comment should say why.
  • An invisible link (a ~~~ b) does not order two siblings; it pushes its target down a rank.
  • Two self-transitions on one state flatten into slivers with one loop's line through the other's label; merge them into one.
  • Overlapping edge labels need a ready check of the labels' bounding rectangles. nodeSpacing and padding do not fix them.
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/51370d09db45 https://hg.mozilla.org/integration/autoland/rev/98c5ff522742 Add the Mermaid layout and overlapping-label rules measured under ELK to the documentation skill. r=sylvestre,ai4dev-reviewers,padenot DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: