EccProcessDiagram
EccProcessDiagram shows the BPMN diagrams of a case: the root process and all its sub-processes, with completed steps, the active step and the path taken highlighted.
import { EccProcessDiagram } from "@/ecc/components/widgets/EccProcessDiagram";
<EccProcessDiagram process={process} />
Props
| any instance of the case; the widget starts from its root instance |
Behaviour
left | list of the root instance and its sub-processes, root first; a click selects one |
right | the diagram of the selected instance with pan and zoom |
The SVG is inserted inline, so the colors follow the active UI theme. While loading, the widget shows a spinner; if no diagram is available, it shows a short message.
CSS
Change the look in the CSS file of your workspace, see Styling.
| list on the left, diagram on the right |
| list of the instances |
| entry: dot (filled = root instance), id, name |
| diagram area |
| pan and zoom area |
| the diagram |
| zoom buttons |
| loading / error above the diagram |
| loading / error of the list |
Related
the endpoint behind the widget and what the colors mean | |
how the diagram is produced and themed | |
where it is used |
On this page
- EccProcessDiagram