Function: computePolyline()
computePolyline(
source,target,vertices):Vector[]
Defined in: diagram/geometry.ts:274
Computes line geometry between two shapes clipped at each ones border with intermediate points in-between.
It is assumed that the line starts at source shape center, ends at target shape center and goes through each vertex in the array.
Parameters
| Parameter | Type |
|---|---|
| |
| |
| readonly |
Returns
Vector[]