LayoutOptions
Configuration options for the process mining diagram layout. Note that, to optimize performance and depending on the implementation, it might be necessary to memoize the layout options.
Props
Name | Description | Type |
---|---|---|
direction? | The direction for the flow in the graph. | LayoutDirection |
edgeGrouping? | Whether to group edges either at their common source node or their common target node. | boolean |
maximumDuration? | Limits the time the layout algorithm can use to the provided number of milliseconds. This is an expert option. The main application is for graphs with many edges, where usually the part of the layout calculations that takes the longest time is the edge routing. | number |
minimumLayerDistance? | The minimum distance between the layers in the hierarchy. | number |
nodeToEdgeDistance? | The minimum distance between an edge and an adjacent node in one layer. | number |
nodeToNodeDistance? | The minimum distance between two adjacent nodes in one layer. | number |