Skip to content

@graphty/graphty-element / config / getOptionsFiltered

Function: getOptionsFiltered()

getOptionsFiltered(optionsSchema, advanced): OptionsSchema

Defined in: src/config/OptionsSchema.ts:203

Get options filtered by advanced flag

Parameters

optionsSchema

OptionsSchema

Options schema to filter

advanced

boolean

If true, return only advanced options. If false, return only basic options.

Returns

OptionsSchema

Filtered options schema