Skip to content

BlockSuite API Documentation / @blocksuite/blocks / 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/dist/elements/mindmap/style.d.ts:33

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/dist/elements/mindmap/style.d.ts:34