LocalGraphView
Unofficial
Obsidian view for a local graph.
Import:
import type { LocalGraphView } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface LocalGraphView extends InfoFileViewExtends: InfoFileView
Properties
| Property | Type | Description | |
|---|---|---|---|
| engine | GraphEngine | Graph engine powering the local graph simulation. | |
| renderer | GraphRenderer | Renderer responsible for drawing the local graph. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| getViewType() | typeof ViewType.LocalGraph | Get the current view type. | |
| onFileChanged(file) | void | Requests a update if the changed file is the opened file. | |
| onFileOpen(file) | void | Called when a file is opened. Loads the file and requests a content update. (Inherited from InfoFileView) | |
| onOptionsChange() | void | Updates the options from the plugin when changed in view. | |
| update() | void | Renders the graph. |
Links to this page: