Skip to content

nithinssabu/react-bpmn

 
 

Repository files navigation

react-bpmn

CI

Use bpmn-js to display BPMN 2.0 diagrams in a React application.

Usage

import ReactBpmn from 'react-bpmn';


function App(props) {

  function onShown() {
    console.log('diagram shown');
  }

  function onLoading() {
    console.log('diagram loading');
  }

  function onError(err) {
    console.log('failed to show diagram');
  }

  return (
    <ReactBpmn
      url="/public/diagram.bpmn"
      onShown={ onShown }
      onLoading={ onLoading }
      onError={ onError }
    />
  );
}

Resources

License

MIT

About

Display BPMN 2.0 diagrams in React.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 62.0%
  • JavaScript 38.0%