@graphty/graph-io / styles / readAnnotations
Function: readAnnotations() ​
readAnnotations(
snapshot):FileAnnotations
Defined in: styles/annotations.ts:252
The annotations a graph holds, from the column Cytoscape desktop keeps them in.
Parameters ​
snapshot ​
GraphSnapshot
the graph
Returns ​
the annotations; none when the graph has the column empty or not at all