Skip to content

@graphty/cytoscape-extensions / index / CytoscapeSnapshot

Interface: CytoscapeSnapshot ​

Defined in: cytoscape-extensions/src/snapshot.ts:26

A snapshot of a Cytoscape collection plus the element arrays its indices refer to.

Properties ​

edges ​

readonly edges: EdgeCollection

Defined in: cytoscape-extensions/src/snapshot.ts:31

Edge index e is edges[e]: the collection's edges whose two endpoints are both in nodes.


nodes ​

readonly nodes: NodeCollection

Defined in: cytoscape-extensions/src/snapshot.ts:29

Node index i is nodes[i].


snapshot ​

readonly snapshot: GraphSnapshot

Defined in: cytoscape-extensions/src/snapshot.ts:27