BlockSuite API Documentation / @blocksuite/blocks / NodeDetail
Type Alias: NodeDetail
NodeDetail:
object
Type declaration
index
index:
string
The index of the node, it decides the layout order of the node
parent?
optional
parent:string
preferredDir?
optional
preferredDir:LayoutType
The preferred layout direction of the node, it only works when the layout type is BALANCE and the node is on the first level
Defined in
packages/affine/block-surface/dist/element-model/utils/mindmap/layout.d.ts:6