bpmn-js-external-label-modeling
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

bpmn-js-external-label-modeling

A bpmn-js plugin used to render Label tags outside of nodes.

一个用来将Label标签渲染在节点外部的bpmn-js插件。

How to use 如何使用

  1. Clone this repository.

  2. Copy the ExternalLabel directory to your own project.

  3. import it.

  4. 克隆这个项目.

  5. ExternalLabel 这个目录复制到你自己的项目中.

  6. 使用 import 导入这个模块.

This project has been published as an NPM dependency package.

该项目已经发布为一个NPM依赖包

  1. Add the bpmn-js-external-label-modeling to your project:
npm install bpmn-js-external-label-modeling
  1. Add it to the additionalModules Array
import Modeler from 'bpmn-js/lib/Modeler'
import ExternalLabelModule from 'bpmn-js-external-label-modeling'

const modeler = new Modeler({
  container: '#container',
  additionalModules: [
    // ...
    ExternalLabelModule
  ]
})

Preview 效果预览

img.png

Package Sidebar

Install

npm i bpmn-js-external-label-modeling

Weekly Downloads

59

Version

1.0.3

License

MIT

Unpacked Size

41.2 kB

Total Files

13

Last publish

Collaborators

  • miyuesc