Skip to content

GraphOptions

Unofficial

Base interface for a collapsible graph options section in the settings panel.

Import:

import type { GraphOptions } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface GraphOptions extends TreeCollapsibleItem

Extends: TreeCollapsibleItem

Properties

PropertyTypeDescription
childrenElHTMLElementContainer element for the child items of this collapsible node.
(Inherited from TreeCollapsibleItem)
collapsedbooleanCurrent collapsed state of tree item.
(Inherited from TreeCollapsibleItem)
collapseElHTMLElement | nullElement for the collapse/expand toggle indicator, or null if not rendered.
(Inherited from TreeCollapsibleItem)
collapsiblebooleanWhether tree item is able to be collapsed or not.
(Inherited from TreeCollapsibleItem)

Methods

MethodReturnsDescription
getOptions(e)unknownGet the current values of this options section.
onCollapseClick(event)voidExecute collapse functionality on mouse click.
(Inherited from TreeCollapsibleItem)
setCollapsed(value, animate?)Promise<undefined>Set collapsed state of tree item.
(Inherited from TreeCollapsibleItem)
setCollapsible(value)voidSet collapsible state of tree item.
(Inherited from TreeCollapsibleItem)
setOptions(e)unknownApply new values to this options section.
toggleCollapsed(animate?)Promise<undefined>Toggle collapsed state of tree item.
(Inherited from TreeCollapsibleItem)
updateCollapsed(animate?)Promise<undefined>Update the tree item's cover element.
(Inherited from TreeCollapsibleItem)

Links to this page: