Skip to content

Scrolling horizontally Mermaid graphs #7860

Answered by kamilkrzyskow
pajaro1966 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @pajaro1966,
Mermaid diagrams in the Material theme by default don't support zooming in etc., and due to them being in a shadow root they can't be styled to add a horizontal scroll bar🤔. I haven't looked into the docs of Mermaid to see possible configuration settings for the Gantt timelines, so perhaps I'm missing something.

You could look into the 3rd party mkdocs plugin to add support for zooming in Mermaid diagrams:

Or you could try setting up Gantt timelines from the Neoteroi package, which do support horizontal lines and styling, however I'm not sure if they're ideal for your use case:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pajaro1966
Comment options

Answer selected by niclasheinz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants