@graphty/graph-io / styles / resolveStyles
Function: resolveStyles() ​
resolveStyles(
extracted,target,property,snapshot?): readonly (StyleValue|null)[]
Defined in: styles/plan/resolve.ts:673
Every element's value of one property under a file's styles: the reference semantics of the format.
Parameters ​
extracted ​
the styles
target ​
nodes or edges
property ​
the property
snapshot? ​
GraphSnapshot
the graph; when given, data columns and degrees are read from it (so a degree mapping follows the graph), otherwise from extracted.features
Returns ​
readonly (StyleValue | null)[]
each element's value, or null where the file gives none