1.0.3 • Published 11 months ago
bpmn-js-external-label-modeling v1.0.3
bpmn-js-external-label-modeling
A bpmn-js plugin used to render Label tags outside of nodes.
一个用来将Label标签渲染在节点外部的bpmn-js插件。
How to use 如何使用
Clone this repository.Copy theExternalLabel
directory to your own project.import
it.
克隆这个项目.将ExternalLabel
这个目录复制到你自己的项目中.使用import
导入这个模块.
This project has been published as an NPM dependency package.
该项目已经发布为一个NPM依赖包
- Add the bpmn-js-external-label-modeling to your project:
npm install bpmn-js-external-label-modeling
- 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
]
})