Skip to content

@graphty/graph-io / styles / StyleFingerprint

Interface: StyleFingerprint ​

Defined in: styles/types.ts:1282

Which graph a set of styles belongs to: style values are indexed by element, so they are never written onto a different graph.

Properties ​

edges ​

readonly edges: number

Defined in: styles/types.ts:1286

The edge count.


heldEdges? ​

readonly optional heldEdges?: number

Defined in: styles/types.ts:1291

The edges a file holds: an undirected edge of a directed graph, which the graph holds as two halves, counted once. Absent in a fingerprint made before it was recorded, which then means edges.


ids ​

readonly ids: string

Defined in: styles/types.ts:1293

A hash of the node ids, whatever their order.


nodes ​

readonly nodes: number

Defined in: styles/types.ts:1284

The node count.