[Documentation] Replace Graphviz DOT diagrams with D2 diagrams#1352
Open
Shakti Suman (quic-shaksuma) wants to merge 1 commit into
Open
[Documentation] Replace Graphviz DOT diagrams with D2 diagrams#1352Shakti Suman (quic-shaksuma) wants to merge 1 commit into
Shakti Suman (quic-shaksuma) wants to merge 1 commit into
Conversation
Migrate the ELD user guide diagrams from Graphviz DOT sources to D2 and wire the documentation build to render the new diagram format. D2 provides a more expressive and maintainable diagram source than basic Graphviz DOT for these user-guide diagrams. It supports reusable imports and classes, centralized theme configuration, richer built-in styling, icons and image-backed nodes, animated or dashed connector styles, and concise syntax for mixed flow, state, component, adapter, callback, and hook concepts. A common.d2 is added as a shared style library so diagrams use consistent colors, typography, node shapes, arrows, rounded corners, shadows, and animated hook flows. Typst PDF workflow is updated to support auto PDF-safe SVG variant generation from any animated image source used for HTML docs. Closes qualcomm#1350 Signed-off-by: Shakti Suman <shaksuma@qti.qualcomm.com>
Shankar Easwaran (quic-seaswara)
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate the ELD user guide diagrams from Graphviz DOT sources to D2 and wire the documentation build to render the new diagram format.
D2 provides a more expressive and maintainable diagram source than basic Graphviz DOT for these user-guide diagrams. It supports reusable imports and classes, centralized theme configuration, richer built-in styling, icons and image-backed nodes, animated or dashed connector styles, and concise syntax for mixed flow, state, component, adapter, callback, and hook concepts.
A common.d2 is added as a shared style library so diagrams use consistent colors, typography, node shapes, arrows, rounded corners, shadows, and animated hook flows.
Typst PDF workflow is updated to support auto PDF-safe SVG variant generation from any animated image source used for HTML docs.
Closes #1350