Diagram: add pan and zoom controls.

Created on 9 March 2023, over 1 year ago
Updated 10 October 2023, about 1 year ago

Problem/Motivation

When I view a large diagram it is impossible to see the details of the diagram. When viewing mermaid diagrams on github there are pan and zoom controls that appear onscreen.
example https://github.com/department-of-veterans-affairs/va.gov-cms/blob/main/R...

It would be very useful to have that appear on our entity relationship diagrams.

Steps to reproduce

  1. visit /admin/reports/content-model/entity-diagram
  2. Choose an entity that has a lot of entity references
  3. Notice the diagram is too small to see.

Proposed resolution

I am not sure if github is using an additional library to expose this, or if it is part of the mermaid library and we do not have it enabled.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Closed: won't fix

Version

1.0

Component

Diagram

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024