DefaultControlButtons()
Default buttons for the Controls component that provide actions to interact with the viewport of the process mining.
This includes the following buttons: zoom in, zoom out, zoom to the original size and fit the graph into the viewport.
function ProcessMiningDiagram() {
return (
<ProcessMining eventLog={eventLog}>
<Controls buttons={DefaultControlButtons}></Controls>
</ProcessMining>
)
}
Returns
Type | Description |
---|---|
ControlButton[] | Returns an array of control buttons. |