--- title: polyline package description: > The `polyline` package provides methods for polyline simplication, an efficient way of downsampling curves while retaining moments of variation throughout the path. menu: flux_v0_ref: name: polyline parent: experimental identifier: experimental/polyline weight: 21 cascade: introduced: 0.181.0 --- The `polyline` package provides methods for polyline simplication, an efficient way of downsampling curves while retaining moments of variation throughout the path. Import the `experimental/polyline` package: ```js import "experimental/polyline" ``` This class of algorithms enable efficient rendering of graphs and visualizations without having to load all data into memory. This is done by reducing the number of vertices that do not contribute significantly to the convexity and concavity of the shape. ## Functions {{< children type="functions" show="pages" >}}