Skip to content

@graphty/graphty-element / session / FileStyleNote

Interface: FileStyleNote ​

Defined in: graphty-element/src/session/styles/fileStyles/translate.ts:103

One note of a translation: a code and the facts it is about.

Properties ​

code ​

readonly code: FileStyleNoteCode

Defined in: graphty-element/src/session/styles/fileStyles/translate.ts:105

What happened.


params ​

readonly params: Readonly<Record<string, CodedFactParam>>

Defined in: graphty-element/src/session/styles/fileStyles/translate.ts:112

The facts: property (the file's property or construct, or null), target (node, edge, graph, or null), count (how many times), samples (up to 8 of the file's own values) and, on W_STYLE_LAYER_SPEC_IGNORED, reason: why the layer was not rebuilt (INVALID, SELECTOR, SELECTOR_TERMS, PATH, or REFUSED when the element refused it).