@graphty/graph-io / styles / StyleNote
Interface: StyleNote ​
Defined in: styles/types.ts:1178
One aggregated note: everything approximated, dropped or malformed for one code, target and property.
Properties ​
code ​
readonlycode:StyleNoteCode
Defined in: styles/types.ts:1180
The condition.
elements? ​
readonlyoptionalelements?: readonlynumber[] | {count:number; }
Defined in: styles/types.ts:1196
The element indexes the note covers, sorted, when every occurrence named one; otherwise only how many occurrences there were.
Union Members ​
readonly number[]
Type Literal ​
{ count: number; }
count ​
readonlycount:number
How many occurrences there were.
message ​
readonlymessage:string
Defined in: styles/types.ts:1203
English for graph-io's own report; an application writes its own words from the code and params.
params ​
readonlyparams:object
Defined in: styles/types.ts:1182
The facts.
count ​
readonlycount:number
How many times the condition occurred.
property ​
readonlyproperty:string|null
The property (or the file's own name for the construct) the note is about, or null.
samples ​
readonlysamples: readonlystring[]
Up to 8 distinct examples, each at most 80 characters.
target ​
readonlytarget:"graph"|StyleTarget|null
Nodes, edges, the graph, or null for the file as a whole.