Function: placeElementsAroundTarget()
placeElementsAroundTarget(
params):Command
Defined in: diagram/commands.ts:233
Command to move specified elements at the distance around target element,
trying to minimize overlapping elements.
Parameters
| Parameter | Type | Description |
|---|---|---|
| { | ‐ |
|
| Preferred distance from the target to place elements. Default |
| readonly | Elements to place around the target element. |
| Diagram model to get graph structure for optimal placement. | |
| Size provider for the elements. | |
| Target element around which to place elements. |