Skip to content

@graphty/graph-io / styles / toolDefaults

Function: toolDefaults() ​

toolDefaults(tool): ToolDefaults | null

Defined in: styles/defaults.ts:908

The defaults of one program.

Parameters ​

tool ​

StyleTool

the program's id

Returns ​

ToolDefaults | null

its defaults, or null when graph-io has none for it