Skip to content

@graphty/graphty-element / schema / DEFAULT_BACKGROUND_COLOR

Variable: DEFAULT_BACKGROUND_COLOR ​

const DEFAULT_BACKGROUND_COLOR: "#F5F5F5" = "#F5F5F5"

Defined in: graphty-element/src/config/GraphStyle.ts:107

The colour the element clears its canvas to when no background is set: whitesmoke. What a background field shows when the project names none, and what clearing it returns to.

Since ​

3.26.0