Skip to content

[FEAT] Provide a Minimap for diagram navigation #163

Description

@tbouffard

Is your feature request related to a problem? Please describe.
Provide a minimap for navigation guidance. This is useful when using large diagram, when the diagram has been zoom and the user wants to navigate or know where is the current position regarding the global diagram.

Describe the solution you'd like
As an integrator of the lib, I would like to be able to toggle the minimap and display it in a provided html container.
We should also check the impact on performance, in particular if we can disable icon rendering, labels, ... Depending on the performance results, we may decide to make these details enabled or disabled by configuration.
This may be defer to a dedicated issue.

The implementation should be provided as a plugin: MinimapPlugin

Additional context
mxGraph provides support for that, a POC of the minimap has been demonstrated in process-analytics/bpmn-visualization-js#555.

The way the minimap is behaving fully depends on the css style applied to the div that hold the minimap: position, size, transparency, ....
As for the regular BPMN diagram rendering, please prefer using a fixed size viewport.
The POC has also shown that labels are not displayed in the minimap (at least with [email protected]) whereas the mxGraph documentation does not explicitly state that.

[UPDATE 2023-11-12] Originally named https://github.com/process-analytics/bpmn-visualization-js/issues/858

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions