diagram-js-minimap

WebJar for diagram-js-minimap

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

diagram-js-minimap
Last Version

Last Version

1.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

diagram-js-minimap
WebJar for diagram-js-minimap
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/bpmn-io/diagram-js-minimap

Download diagram-js-minimap

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/diagram-js-minimap/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>diagram-js-minimap</artifactId>
    <version>1.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/diagram-js-minimap/
implementation 'org.webjars.npm:diagram-js-minimap:1.2.2'
// https://jarcasting.com/artifacts/org.webjars.npm/diagram-js-minimap/
implementation ("org.webjars.npm:diagram-js-minimap:1.2.2")
'org.webjars.npm:diagram-js-minimap:jar:1.2.2'
<dependency org="org.webjars.npm" name="diagram-js-minimap" rev="1.2.2">
  <artifact name="diagram-js-minimap" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='diagram-js-minimap', version='1.2.2')
)
libraryDependencies += "org.webjars.npm" % "diagram-js-minimap" % "1.2.2"
[org.webjars.npm/diagram-js-minimap "1.2.2"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : css.escape jar [1.5.1,2)
org.webjars.npm : min-dash jar [3.1.0,4)
org.webjars.npm : min-dom jar [3.1.0,4)
org.webjars.npm : tiny-svg jar [2.1.0,3)

Project Modules

There are no modules declared in this project.

diagram-js Minimap

Build Status

A minimap for diagram-js.

Minimap

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 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.

License

MIT

org.webjars.npm

bpmn.io

Rendering toolkits and editors for BPMN 2.0, CMMN, DMN, and forms.

Versions

Version
1.2.2