Skip to content

Persist netgraph editor's viewport – Save and Restore (Open) #849

@aiAdrian

Description

@aiAdrian

Who would benefit from this feature?

Users

What is this feature about?

Users working with large or complex netgraphs who want to continue exactly where they left off.

Example:

  • Teams sharing netgraphs and expecting the same view to appear when another person opens the file.
  • Anyone who frequently switches between different areas of a netgraphs and needs consistent visual context.

Why is this feature valuable?

The Netzgrafik‑Editor should be able to persist the current viewport (position, zoom level, visible area).

After closing, reopening, sharing, or refreshing the editor, the last used viewport should be restored automatically.

To support this, the data model must be extended with a new JSON element:
rendering (new) -> NetzgrafikEditor -> Viewport

The viewport object should contain all necessary parameters to reconstruct the exact view.

Backward compatibility:

  • If no viewport is found in the JSON, the editor must behave exactly as it does today and fall back to the default viewport.

Additional technical work required:

Why is this feature valuable?

  • Improves usability significantly, especially for large or multi‑regional Netzgrafiken.
  • Saves time by eliminating the need to manually navigate back to the working area.
  • Ensures consistent context when sharing Netzgrafiken with colleagues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:viewActual components ("visual" stuff)feature-requestA request of a new feature of the enhancement of an existing one

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions