BlockSuite API Documentation / @blocksuite/affine-model
@blocksuite/affine-model
Enumerations
- ColorScheme
- ConnectorEndpoint
- ConnectorLabelOffsetAnchor
- ConnectorMode
- FontFamily
- FontStyle
- FontWeight
- FrameBackgroundColor
- LayoutType
- LineColor
- LineWidth
- MindmapStyle
- NoteBackgroundColor
- NoteCorners
- NoteDisplayMode
- NoteShadow
- PointStyle
- ShapeFillColor
- ShapeStyle
- ShapeTextFontSize
- ShapeType
- StrokeStyle
- TextAlign
- TextResizing
- TextVerticalAlign
Classes
- AttachmentBlockModel
- AttachmentBlockTransformer
- BookmarkBlockModel
- BrushElementModel
- ConnectorElementModel
- DatabaseBlockModel
- EdgelessTextBlockModel
- EmbedFigmaModel
- EmbedGithubModel
- EmbedHtmlModel
- EmbedLinkedDocModel
- EmbedLoomModel
- EmbedSyncedDocModel
- EmbedYoutubeModel
- FrameBlockModel
- GroupElementModel
- ImageBlockModel
- ImageBlockTransformer
- LatexBlockModel
- LocalConnectorElementModel
- MindmapElementModel
- MindmapStyleGetter
- NoteBlockModel
- RootBlockModel
- ShapeElementModel
- StyleFour
- StyleOne
- StyleThree
- StyleTwo
- TextElementModel
Interfaces
Type Aliases
- AliasInfo
- AttachmentBlockProps
- BookmarkBlockProps
- BrushProps
- Cell
- CodeBlockModel
- Color
- ColumnUpdater
- Connection
- ConnectorElementProps
- ConnectorLabelConstraintsProps
- ConnectorLabelOffsetProps
- ConnectorLabelProps
- ConnectorStyle
- DatabaseBlockProps
- DividerBlockModel
- DocMode
- EmbedBlockModel
- EmbedCardStyle
- EmbedFigmaBlockProps
- EmbedFigmaBlockUrlData
- EmbedGithubBlockProps
- EmbedGithubBlockUrlData
- EmbedHtmlBlockProps
- EmbedLinkedDocBlockProps
- EmbedLoomBlockProps
- EmbedLoomBlockUrlData
- EmbedProps
- EmbedSyncedDocBlockProps
- EmbedYoutubeBlockProps
- EmbedYoutubeBlockUrlData
- FrameBlockProps
- ImageBlockProps
- LatexProps
- LinkPreviewData
- ListBlockModel
- ListType
- MindmapNode
- MindmapRoot
- NodeDetail
- NodeStyle
- NodeType
- NoteEdgelessProps
- NoteProps
- ParagraphBlockModel
- ParagraphProps
- ParagraphType
- ReferenceInfo
- ReferenceParams
- RootBlockProps
- SerializedCells
- SerializedConnection
- SerializedConnectorElement
- SerializedGroupElement
- SerializedMindmapElement
- ShapeName
- ShapeProps
- SurfaceRefBlockModel
- SurfaceRefProps
- TextElementProps
- TextStyleProps
- ViewBasicDataType
Variables
- AliasInfoSchema
- AttachmentBlockSchema
- AttachmentBlockStyles
- BookmarkBlockSchema
- BookmarkStyles
- CodeBlockSchema
- CONNECTOR_LABEL_MAX_WIDTH
- DatabaseBlockSchema
- DEFAULT_BRUSH_COLOR
- DEFAULT_CENTRAL_AREA_RATIO
- DEFAULT_CONNECTOR_COLOR
- DEFAULT_CONNECTOR_TEXT_COLOR
- DEFAULT_FRONT_END_POINT_STYLE
- DEFAULT_NOTE_BACKGROUND_COLOR
- DEFAULT_NOTE_BORDER_SIZE
- DEFAULT_NOTE_BORDER_STYLE
- DEFAULT_NOTE_CORNER
- DEFAULT_NOTE_HEIGHT
- DEFAULT_NOTE_SHADOW
- DEFAULT_NOTE_WIDTH
- DEFAULT_REAR_END_POINT_STYLE
- DEFAULT_ROUGHNESS
- DEFAULT_SHAPE_FILL_COLOR
- DEFAULT_SHAPE_STROKE_COLOR
- DEFAULT_SHAPE_TEXT_COLOR
- DEFAULT_TEXT_COLOR
- defaultAttachmentProps
- defaultEmbedSyncedDocBlockProps
- DividerBlockSchema
- DocModes
- EdgelessTextBlockSchema
- EmbedFigmaBlockSchema
- EmbedFigmaStyles
- EmbedGithubBlockSchema
- EmbedGithubStyles
- EmbedHtmlBlockSchema
- EmbedHtmlStyles
- EmbedLinkedDocBlockSchema
- EmbedLinkedDocStyles
- EmbedLoomBlockSchema
- EmbedLoomStyles
- EmbedSyncedDocBlockSchema
- EmbedSyncedDocStyles
- EmbedYoutubeBlockSchema
- EmbedYoutubeStyles
- FillColorsSchema
- FontFamilyList
- FontFamilyMap
- FontWeightMap
- FRAME_BACKGROUND_COLORS
- FrameBackgroundColorsSchema
- FrameBlockSchema
- ImageBlockSchema
- LatexBlockSchema
- LINE_COLORS
- LineColorMap
- LineColorsSchema
- ListBlockSchema
- mindmapStyleGetters
- NOTE_BACKGROUND_COLORS
- NOTE_CORNERS
- NOTE_MIN_HEIGHT
- NOTE_MIN_WIDTH
- NOTE_SHADOWS
- NoteBackgroundColorMap
- NoteBackgroundColorsSchema
- NoteBlockSchema
- NoteCornersMap
- NoteCornersSchema
- NoteShadowMap
- NoteShadowsSchema
- ParagraphBlockSchema
- PointStyleMap
- ReferenceInfoSchema
- ReferenceParamsSchema
- RootBlockSchema
- SHAPE_FILL_COLORS
- SHAPE_STROKE_COLORS
- SHAPE_TEXT_PADDING
- SHAPE_TEXT_VERTICAL_PADDING
- shapeMethods
- StrokeColorsSchema
- StrokeStyleMap
- styleFour
- styleOne
- styleThree
- styleTwo
- SurfaceRefBlockSchema
- TextAlignMap