@graphty/graph-io / styles / readCytoscapeStyles
Function: readCytoscapeStyles() ​
readCytoscapeStyles(
input):ExtractedStyles
Defined in: styles/cyjs/live.ts:102
Reads the styles of a live Cytoscape.js core: the stylesheet's rules, with what the core reports it draws as the truth per element when given.
Parameters ​
input ​
the elements, the stylesheet, the reported values and the graph
Returns ​
the styles, exact for every element