Skip to content

GraphPluginInstance

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphPluginInstance.d.ts:12

Extends

Properties

app

app: App

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphPluginInstance.d.ts:13


defaultOn

defaultOn: true

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphPluginInstance.d.ts:14


description

description: string

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:5

Inherited from

InternalPluginInstance.description


id

id: string

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:6

Inherited from

InternalPluginInstance.id


name

name: string

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:7

Inherited from

InternalPluginInstance.name


onDisable()?

optional onDisable: (app, plugin) => void

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:8

Parameters

app

App

plugin

GraphPlugin

Returns

void

Inherited from

InternalPluginInstance.onDisable


onEnable()?

optional onEnable: (app, plugin) => Promise<void>

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:9

Parameters

app

App

plugin

GraphPlugin

Returns

Promise<void>

Inherited from

InternalPluginInstance.onEnable


onUserDisable()?

optional onUserDisable: (app) => void

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:10

Parameters

app

App

Returns

void

Inherited from

InternalPluginInstance.onUserDisable


onUserEnable()?

optional onUserEnable: (app) => void

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:11

Parameters

app

App

Returns

void

Inherited from

InternalPluginInstance.onUserEnable


plugin

plugin: GraphPlugin

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphPluginInstance.d.ts:17

Methods

init()

init(app, plugin): void

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:13

Parameters

app

App

plugin

GraphPlugin

Returns

void

Inherited from

InternalPluginInstance.init


onExternalSettingsChange()

onExternalSettingsChange(): Promise<void>

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphPluginInstance.d.ts:19

Returns

Promise<void>


onFileMenu()

onFileMenu(menu, file, source, leaf?): void

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphPluginInstance.d.ts:20

Parameters

Menu

file

TAbstractFile

source

string

leaf?

WorkspaceLeaf

Returns

void


openGraphView()

openGraphView(newLeaf): void

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphPluginInstance.d.ts:21

Parameters

newLeaf

boolean

Returns

void


openLocalGraph()

openLocalGraph(checking): undefined | true

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphPluginInstance.d.ts:22

Parameters

checking

boolean

Returns

undefined | true