Skip to content

@graphty/graph-io / styles / CytoscapeStylesheetResult

Interface: CytoscapeStylesheetResult ​

Defined in: styles/cyjs/emit.ts:75

The stylesheet, the element data it reads and the bypasses that make it exact.

Properties ​

bypass ​

readonly bypass: CytoscapePerElement<string | number>

Defined in: styles/cyjs/emit.ts:81

What to give each element as its own style (a bypass over every rule).


elementData ​

readonly elementData: CytoscapePerElement<CytoscapeDataValue>

Defined in: styles/cyjs/emit.ts:79

What to merge into each element's data.


notes ​

readonly notes: readonly StyleNote[]

Defined in: styles/cyjs/emit.ts:83

Every style that could not be written, or only approximately.


stylesheet ​

readonly stylesheet: CytoscapeStylesheetRule[]

Defined in: styles/cyjs/emit.ts:77

The rules, in order; append them to a core's stylesheet.