# diagram-js-minimap **Repository Path**: bluestone029/diagram-js-minimap ## Basic Information - **Project Name**: diagram-js-minimap - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-05-21 - **Last Updated**: 2023-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # diagram-js Minimap [![Build Status](https://github.com/bpmn-io/diagram-js-minimap/actions/workflows/CI.yml/badge.svg)](https://github.com/bpmn-io/diagram-js-minimap/actions/workflows/CI.yml) A minimap for diagram-js. ![Minimap](resources/screenshot.png) ## Features * See the whole diagram in the minimap * Highlight current viewport * Click/drag/scroll the minimap to navigate the diagram ## Usage Extend your diagram-js application with the minimap module. We'll use [bpmn-js](https://github.com/bpmn-io/bpmn-js) as an example: ```javascript import BpmnModeler from 'bpmn-js/lib/Modeler'; import minimapModule from 'diagram-js-minimap'; var bpmnModeler = new BpmnModeler({ additionalModules: [ minimapModule ] }); ``` For proper styling integrate the embedded style sheet: ```html ``` Please see [this example](https://github.com/bpmn-io/bpmn-js-examples/tree/master/minimap) for a more detailed instruction. ## License MIT