Hi,
I am not sure I understand the issue?
You can basically take the sandbox and only need to:
- Add
diagram-js-minimap
in the package.json - Import it
import minimapModule from "diagram-js-minimap"; import "diagram-js-minimap/assets/diagram-js-minimap.css";
- Load it after diagram import:
bpmnJS.get("minimap").open();
See here: https://codesandbox.io/s/minimap-demo-8ryrk?file=/src/index.js