Skip to content

@shbernal/ts-pptx


@shbernal/ts-pptx / index / CONNECTOR_PRESET_NAME

Type Alias: CONNECTOR_PRESET_NAME

CONNECTOR_PRESET_NAME = typeof EXTRA_SHAPE_PRESETS[number]

Defined in: src/enums.ts:474

Connector preset geometries (straightConnector1 / bentConnector{2-5} / curvedConnector{2-5}) that addShape can serialize but that are not surfaced as friendly ShapeType names. Derived from EXTRA_SHAPE_PRESETS so the public SHAPE_NAME union and the runtime VALID_SHAPE_PRESETS set share one source of truth and cannot drift. Use addConnector for live, endpoint-bound connectors; pass these to addShape for a static box-positioned connector geometry.