Skip to main content

Interface: Decorations

Extra emphasis drawn over a diagram (search hits, paths, diff tones) without moving anything.

Properties​

badges?​

badges?: Record<string, string>;

Small text badges at a node's header right, e.g. "~3" (changed column count).


columns?​

columns?: Record<string, Record<string, DecorationTone>>;

Table id → column name → tone (row tint; removed rows struck through).


dimOthers?​

dimOthers?: boolean;

Dim (opacity 0.28) every node and ref without a decoration. Default false.


nodes?​

nodes?: Record<string, DecorationTone>;

Node (table / note / group) id → tone; drawn as a ring + tint (removed: dashed outline, 60% opacity, name struck through).


refs?​

refs?: Record<string, DecorationTone>;

Ref id → tone (stroke colour + width 2; removed dashed).