Skip to content

A component to display variables in a given process

Notifications You must be signed in to change notification settings

bpmn-io/variable-outline

Repository files navigation

@bpmn-io/variable-outline

A React component to display variables in a BPMN diagram.

Usage

Simply add the component to your existing React application and pass the bpmn-js injector to the component:

import VariableOutline from '@bpmn-io/variable-outline';
import '@bpmn-io/variable-outline/dist/style.css';

export function MyComponent(props) {
  const {
    injector
  } = props;

  return <VariableOutline injector={injector}></VariableOutline>
}

Development

Start a demo page with npm run start.

Run all tests with npm run test

Code of Conduct

By participating to this project, please uphold to our Code of Conduct.

License

MIT

Uses bpmn-js licensed under the bpmn.io license.