Skip to content

Schema Visualizer: Allow wider zoom range (minZoom/maxZoom) #1568

Description

@robindev2007

Closes #1558

Problem

The schema visulizer inside prisma studio in locally has minZoom: 0.5 maxZoom: 2 in ReactFlow defaults. For schema with many models (15/20+) max zoom out is not enough to see the full diagram. User cannot get proper full view of the entire diagram. It need minZoom: 0.5 and maxZoom: 5 to get a clear view

Proposed solution

Update the ReactFlow zoom configuration in the Prisma Studio schema visualizer from:

minZoom: 0.5,
maxZoom: 2,

to:

minZoom: 0.5,
maxZoom: 5,

This would allow users to zoom out further and get a clear full view of larger schemas with 15–20+ models.

Alternatives

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureA request for a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions