Skip to content

Function: addTriplot()

ts
function addTriplot(plot, opts): TriplotHandle;

Defined in: charts/tri.ts:75

The triangulation itself (triplot) — every mesh edge, drawn once. Useful for checking that a mesh covers what you think it covers before colouring it.

Parameters

ParameterType
plotPlot
optsTriplotOptions

Returns

TriplotHandle

MIT licensed. WebGL2 required.