Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / MindmapStyleGetter

Class: abstract MindmapStyleGetter

Extended by

Constructors

new MindmapStyleGetter()

new MindmapStyleGetter(): MindmapStyleGetter

Returns

MindmapStyleGetter

Properties

root

abstract readonly root: NodeStyle

Defined in

packages/affine/model/src/elements/mindmap/style.ts:47

Methods

getNodeStyle()

abstract getNodeStyle(node, path): object

Parameters

node

MindmapNode

path

number[]

Returns

object

connector

connector: ConnectorStyle

node

node: NodeStyle

Defined in

packages/affine/model/src/elements/mindmap/style.ts:49