Popup

The popup provides a custom overlay that displays contextual information for process mining steps. The position of the popup relative to the clicked step can be configured with the popupPosition prop.

The ProcessMining component provides a default popup that displays the label of the item and its capacity value, if any.

function ProcessMiningDiagram() {
  return (
    <ProcessMining
      eventLog={EventLog}
      timestamp={5}
      renderPopup={RenderPopup}>
    </ProcessMining>
  )
}

To adjust the popup visualization, add a custom React component using the renderPopup prop.