|
2 周之前 | |
---|---|---|
.. | ||
assets | 2 周之前 | |
dist | 2 周之前 | |
LICENSE | 2 周之前 | |
README.md | 2 周之前 | |
package.json | 2 周之前 |
A minimap for diagram-js.
Extend your diagram-js application with the minimap module. We'll use bpmn-js as an example:
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:
<link rel="stylesheet" href="diagram-js-minimap/assets/diagram-js-minimap.css" />
Please see this example for a more detailed instruction.
MIT