BlockSuite API Documentation / @blocksuite/blocks / MindmapNode
Type Alias: MindmapNode
MindmapNode:
object
Type declaration
children
children:
MindmapNode
[]
detail
detail:
NodeDetail
element
element:
BlockSuite.SurfaceElementModel
id
id:
string
overriddenDir?
optional
overriddenDir:LayoutType
This property override the preferredDir or default layout direction. It is used during dragging that would temporary change the layout direction
responseArea?
optional
responseArea:Bound
When dragging another node into this area, it will become a sibling of the target node. However, if it is dragged into the small area located right after the target node, it will become a child node of the target node.
treeBound?
optional
treeBound:Bound
The bound of the entire subtree
Defined in
packages/affine/model/dist/elements/mindmap/mindmap.d.ts:16