@r4pm/components

@r4pm/components is a React component library for process mining, extracted from Propel. It provides viewers for Petri nets, object-centric Petri nets, directly-follows graphs (DFG and OC-DFG), dotted charts, alignments, case-duration and events-per-time charts, and log/OCEL summaries, along with matching input components.

Heavier viewers are split behind subpaths so importing the core package does not pull in dependencies such as Plotly or the Petri-net editor unless they are used.

The object-centric Petri net viewer, shown here with its View/Replay/Edit modes and generated props table in Storybook: The @r4pm/components Object-Centric Petri Net Workbench shown in Storybook, with a View/Replay/Edit toggle and a generated props table

Install the package with:

npm install @r4pm/components

The package is available on npm; its source lives in the packages/components folder of the Propel GitHub repository; and the full Storybook component gallery and API reference is published at propel.aarkue.eu/storybook.