Skip to content

LocalGraphView

Unofficial

Obsidian view for a local graph.

Import:

import type { LocalGraphView } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface LocalGraphView extends InfoFileView

Extends: InfoFileView

Properties

PropertyTypeDescription
engineGraphEngineGraph engine powering the local graph simulation.
rendererGraphRendererRenderer responsible for drawing the local graph.

Methods

MethodReturnsDescription
getViewType()typeof ViewType.LocalGraphGet the current view type.
onFileChanged(file)voidRequests a update if the changed file is the opened file.
onFileOpen(file)voidCalled when a file is opened. Loads the file and requests a content update.
(Inherited from InfoFileView)
onOptionsChange()voidUpdates the options from the plugin when changed in view.
update()voidRenders the graph.

Links to this page: