Skip to content

@graphty/graph-io / styles / StyleValues

Interface: StyleValues ​

Defined in: styles/plan/plan.ts:74

What the planner is given: the canonical per-element values a style reader produced, the rules the file declares, and the graph they belong to.

Properties ​

dialect? ​

readonly optional dialect?: StyleDialect | null

Defined in: styles/plan/plan.ts:78

How the file spelled its values.


edge? ​

readonly optional edge?: ReaderOutput

Defined in: styles/plan/plan.ts:88

Edge values, declared rules, reader columns and extra features.


fingerprint ​

readonly fingerprint: StyleFingerprint

Defined in: styles/plan/plan.ts:90

The graph the values belong to; its counts give the number of elements.


format ​

readonly format: string

Defined in: styles/plan/plan.ts:76

The graph-io format id.


graph? ​

readonly optional graph?: Partial<GraphStyleValues>

Defined in: styles/plan/plan.ts:84

The graph's own style.


node? ​

readonly optional node?: ReaderOutput

Defined in: styles/plan/plan.ts:86

Node values, declared rules, reader columns and extra features.


tool? ​

readonly optional tool?: StyleTool | null

Defined in: styles/plan/plan.ts:80

The program that wrote the file, whose defaults fill in what the file leaves unset; null when unknown.


units? ​

readonly optional units?: "px" | "relative"

Defined in: styles/plan/plan.ts:82

The unit of every length; defaults to pixels.