bpmn-js-external-label-modeling
v1.0.3
Published
A bpmn-js plugin used to render Label tags outside of nodes.
Downloads
148
Maintainers
Readme
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 the
ExternalLabel
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
]
})