Skip to content

Support zoom in / out / open in full scree of mermaid diagrams #89

@caenrique

Description

@caenrique

Is your feature request related to a problem? Please describe.
When working with large diagrams, they quickly become too small to read properly.

Describe the solution you'd like
Support something like

  • github interface for mermaid blocks where some buttons apear on the upper right side to zoom in/out or open in full screen
  • mermaid live ui that allows zoom in/out and opening in another tab in full screen, which also allows zomming with scrollwheel and moving with mouse.

Additional context

classDiagram
    Animal <|-- Duck
    Animal <|-- Fish
    Animal <|-- Zebra
    Animal : +int age
    Animal : +String gender
    Animal: +isMammal()
    Animal: +mate()
    class Duck{
      +String beakColor
      +swim()
      +quack()
    }
    class Fish{
      -int sizeInFeet
      -canEat()
    }
    class Zebra{
      +bool is_wild
      +run()
    }
Loading
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions