@graphty/graphty-element / session / FileStyleOrigin
Interface: FileStyleOrigin ​
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:84
Where one style layer came from when it was made from a file's styles, as facts an application words for itself. Read it with fileStyleOf.
Properties ​
classes? ​
readonlyoptionalclasses?:number
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:106
How many classes a class rule holds.
column? ​
readonlyoptionalcolumn?:string
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:96
The column the layer reads, as the path it reads it at.
distinctValues? ​
readonlyoptionaldistinctValues?:number
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:108
How many distinct values a copied column holds.
elements? ​
readonlyoptionalelements?:number
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:104
How many elements the rule applies to.
entries? ​
readonlyoptionalentries?:number
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:102
How many entries the mapping table holds.
format ​
readonlyformat:string
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:86
The graph-io format id or JSON dialect the file was read as (gexf, cytoscape-js).
importId ​
readonlyimportId:string
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:88
The load the layer belongs to; its layers are filed under the template file:<importId>.
mapping? ​
readonlyoptionalmapping?:FileStyleMappingKind
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:100
How the layer maps the column's values.
meanings? ​
readonlyoptionalmeanings?: readonlyFileStyleMeaning[]
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:98
What each generated value of that column means in the file's own words.
origin ​
readonlyorigin:StyleRuleOrigin
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:94
Where the rule came from.
reason? ​
readonlyoptionalreason?:StyleRuleReason
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:110
Why the layer copies values, or how it was built.
role ​
readonlyrole:StyleRuleRole
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:92
What the rule is.
ruleId ​
readonlyruleId:string
Defined in: graphty-element/src/session/styles/fileStyles/origin.ts:90
The id of the file's rule the layer was made from (node.by.Modularity Class).