GraphNode
Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:10
Methods
getDisplayText()
getDisplayText():
string
Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:51
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:56
Get the current fill color
Returns
The color of the node
getRelated()
getRelated():
string
[]
Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:61
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:66
Get the current size of the node, after weight and node size multiplier have been applied
Returns
number
The size of the node
getTextStyle()
getTextStyle():
TextStyle
Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:72
Get the text style of the node.
Returns
TextStyle
The text style of the node.
render()
render():
void
Defined in: src/obsidian/internals/InternalPlugins/Graph/GraphNode.d.ts:81
Render the node.
Returns
void