Closed Bug 2084613 Opened 1 month ago Closed 24 days ago

Lay out firefox-source-docs Mermaid diagrams with ELK

Categories

(Developer Infrastructure :: Source Documentation, task)

task

Tracking

(firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Mermaid 12 bundles the ELK layout engine. On firefox-source-docs it lays out the dense flowcharts much narrower than dagre (one flowchart in the attribution docs drops from 6011px to about 1300px wide) and draws edges at right angles.

Dagre also has bugs that ELK avoids: a subgraph direction LR turns a whole flowchart TD sideways, and two self-transitions on the same state collide, so the state diagram in dom/docs/push/index.md loses its send (subscribe) transition.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Blocks: 2084689
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7fd73ef2ddcd https://hg.mozilla.org/integration/autoland/rev/72d6b4e21c72 Lay out firefox-source-docs Mermaid diagrams with ELK. r=firefox-source-docs-reviewers,ai4dev-reviewers,ahal,padenot
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: