spcl / dace-webclient

Web-based SDFG viewer for DaCe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bind Viewport to Minimap Bounds

phschaad opened this issue · comments

Make sure the viewport cannot be moved to a point where it would be entirely outside of the minimap bounds. A portion of the viewport bounds must always remain inside the mininamp bounds. For example, the situation given below would be allowed:

image

Moving the viewport further left would be disallowed.

Handled by #135