@mermaid-editor-sdk/headless


@mermaid-editor-sdk/headless / PieSlice

Interface: PieSlice

Defined in: source/pie-mutations.ts:27

A parsed pie chart slice and its source offsets.

Properties

label

label: string

Defined in: source/pie-mutations.ts:29

Displayed label.


labelEnd

labelEnd: number

Defined in: source/pie-mutations.ts:35

End offset of the label, when present.


labelStart

labelStart: number

Defined in: source/pie-mutations.ts:33

Start offset of the label, when present.


value

value: number

Defined in: source/pie-mutations.ts:31

Style or slice value.


valueEnd

valueEnd: number

Defined in: source/pie-mutations.ts:39

End offset of the numeric value token.


valueStart

valueStart: number

Defined in: source/pie-mutations.ts:37

Start offset of the numeric value token.