Skip to content

getGraphViewConstructor

Unofficial

Get the GraphView constructor.

Import:

import { getGraphViewConstructor } from '@obsidian-typings/obsidian-public-latest/implementations';

Signature:

function getGraphViewConstructor(app: App): ConstructorBase<[leaf: WorkspaceLeaf], GraphView>

Parameters:

ParameterTypeDescription
appAppThe app.

Returns: ConstructorBase<[leaf: WorkspaceLeaf], GraphView> — The GraphView constructor.