Skip to content

GraphNode

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

Methods

getDisplayText()

getDisplayText(): string

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:44

Get the displayed text associated to the node

Returns

string

The displayed text of the node


getFillColor()

getFillColor(): GraphColorAttributes

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:49

Get the current fill color

Returns

GraphColorAttributes

The color of the node


getRelated()

getRelated(): string[]

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:54

Get the ids of connected nodes (back and forward links)

Returns

string[]

An array of string ids of connected nodes


getSize()

getSize(): number

Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:59

Get the current size of the node, after weight and node size multiplier have been applied

Returns

number

The size of the node