You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add interactive zoom and pan to Mermaid diagrams in Markon, allowing users to zoom into specific regions and drag to navigate large or complex diagrams.
Motivation
Mermaid diagrams in Markon are currently rendered as static SVGs. This becomes a problem when diagrams grow large — text and edges become hard to read, and there's no way to focus on a particular region. Users must resort to browser-level page zoom, which affects the entire layout. Tools like Typora, Notion, and VS Code Markdown Preview already support diagram zoom interaction.
Interaction Design
"Click to enter → interact → click to exit" model:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
Add interactive zoom and pan to Mermaid diagrams in Markon, allowing users to zoom into specific regions and drag to navigate large or complex diagrams.
Motivation
Mermaid diagrams in Markon are currently rendered as static SVGs. This becomes a problem when diagrams grow large — text and edges become hard to read, and there's no way to focus on a particular region. Users must resort to browser-level page zoom, which affects the entire layout. Tools like Typora, Notion, and VS Code Markdown Preview already support diagram zoom interaction.
Interaction Design
"Click to enter → interact → click to exit" model:
Why this model:
Interactions
Zoom range
Beta Was this translation helpful? Give feedback.
All reactions