Skip to content

@graphty/graph-io / styles / StyleReadContext

Interface: StyleReadContext ​

Defined in: styles/types.ts:1329

What an importer's styles() receives.

Properties ​

budget ​

readonly budget: StyleWorkBudget

Defined in: styles/types.ts:1333

The counted work budget.


kept ​

readonly kept: unknown

Defined in: styles/types.ts:1338

What this import's import() passed to report.keepForStyles(value): a stylesheet, a groups object, a legend; undefined when it kept nothing. Per import, so imports running at once never mix.


signal? ​

readonly optional signal?: AbortSignal

Defined in: styles/types.ts:1331

Cancels the extraction.