Skip to content

@graphty/graph-io / styles / readImageAnnotations

Function: readImageAnnotations() ​

readImageAnnotations(snapshot): ImageAnnotation[]

Defined in: styles/annotations.ts:278

The pictures a graph's annotations place, from the column Cytoscape desktop keeps them in: the annotations readAnnotations() lists as skipped ImageAnnotations.

Parameters ​

snapshot ​

GraphSnapshot

the graph

Returns ​

ImageAnnotation[]

the pictures, in the file's order; none when the graph has none