# Boards sub-types

> Composite types referenced by whiteboard snapshots, pages, elements, connectors, and themes.

> Language fallback: requested `ru-RU`; content is `en-US`.

- Human documentation: [https://docs.univer.ai/ru-RU/reference/types/boards-types](https://docs.univer.ai/ru-RU/reference/types/boards-types)

- Agent Markdown: [https://docs.univer.ai/ru-RU/reference/types/boards-types.md](https://docs.univer.ai/ru-RU/reference/types/boards-types.md)

- Requested language: `ru-RU`

- Content language: `en-US`

- Documentation version: `1.6.2`

- Source: [types/boards-types.mdx](https://github.com/dream-num/documentation/blob/dev/content/reference/types/boards-types.mdx)

---

Composite types referenced by whiteboard snapshots, pages, elements, connectors, and themes. Supporting [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md). Types are ordered from direct top-level fields to deeper nested structures and enums.

## Overview [#overview]

| Type | Kind | Used by |
| --- | --- | --- |
| [`BoardCustomData`](#boardcustomdata) | `type` | [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md), [`IBoardPage`](#iboardpage), [`IBoardThemeData`](#iboardthemedata), [`IBoardElementBase`](#iboardelementbase) |
| [`IBoardPage`](#iboardpage) | `interface` | [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md) |
| [`IBoardPageSize`](#iboardpagesize) | `interface` | [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md), [`IBoardPage`](#iboardpage) |
| [`IBoardThemeData`](#iboardthemedata) | `interface` | [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md) |
| [`IBoardTransitionData`](#iboardtransitiondata) | `interface` | [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md) |
| [`BoardPageSizePreset`](#boardpagesizepreset) | `enum` | [`IBoardPageSize`](#iboardpagesize) |
| [`BoardPageType`](#boardpagetype) | `enum` | [`IBoardPage`](#iboardpage) |
| [`BoardTransitionDirection`](#boardtransitiondirection) | `enum` | [`IBoardTransitionData`](#iboardtransitiondata) |
| [`BoardTransitionSpeed`](#boardtransitionspeed) | `enum` | [`IBoardTransitionData`](#iboardtransitiondata) |
| [`BoardTransitionType`](#boardtransitiontype) | `enum` | [`IBoardTransitionData`](#iboardtransitiondata) |
| [`IBoardBackgroundData`](#iboardbackgrounddata) | `type` | [`IBoardPage`](#iboardpage) |
| [`IBoardFmtScheme`](#iboardfmtscheme) | `interface` | [`IBoardThemeData`](#iboardthemedata) |
| [`IBoardHeaderFooterData`](#iboardheaderfooterdata) | `interface` | [`IBoardPage`](#iboardpage) |
| [`IBoardPageElement`](#iboardpageelement) | `type` | [`IBoardPage`](#iboardpage) |
| [`IBoardTransitionSound`](#iboardtransitionsound) | `interface` | [`IBoardTransitionData`](#iboardtransitiondata) |
| [`IBoardChartElement`](#iboardchartelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardConnectorElement`](#iboardconnectorelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardContainerElement`](#iboardcontainerelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardEffectStyle`](#iboardeffectstyle) | `interface` | [`IBoardFmtScheme`](#iboardfmtscheme) |
| [`IBoardEmptyBackground`](#iboardemptybackground) | `interface` | [`IBoardBackgroundData`](#iboardbackgrounddata) |
| [`IBoardFillStyle`](#iboardfillstyle) | `type` | [`IBoardFmtScheme`](#iboardfmtscheme) |
| [`IBoardGradientBackground`](#iboardgradientbackground) | `interface` | [`IBoardBackgroundData`](#iboardbackgrounddata) |
| [`IBoardGroupElement`](#iboardgroupelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardHeaderFooterDateTimeSlot`](#iboardheaderfooterdatetimeslot) | `interface` | [`IBoardHeaderFooterData`](#iboardheaderfooterdata) |
| [`IBoardHeaderFooterSlot`](#iboardheaderfooterslot) | `interface` | [`IBoardHeaderFooterData`](#iboardheaderfooterdata), [`IBoardHeaderFooterDateTimeSlot`](#iboardheaderfooterdatetimeslot) |
| [`IBoardImageBackground`](#iboardimagebackground) | `interface` | [`IBoardBackgroundData`](#iboardbackgrounddata) |
| [`IBoardImageElement`](#iboardimageelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardMediaElement`](#iboardmediaelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardPatternBackground`](#iboardpatternbackground) | `interface` | [`IBoardBackgroundData`](#iboardbackgrounddata) |
| [`IBoardPlaceholderElement`](#iboardplaceholderelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardShapeElement`](#iboardshapeelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardSolidBackground`](#iboardsolidbackground) | `interface` | [`IBoardBackgroundData`](#iboardbackgrounddata) |
| [`IBoardTableElement`](#iboardtableelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`IBoardTextElement`](#iboardtextelement) | `interface` | [`IBoardPageElement`](#iboardpageelement) |
| [`BoardBackgroundImageFit`](#boardbackgroundimagefit) | `type` | [`IBoardImageBackground`](#iboardimagebackground) |
| [`BoardBackgroundType`](#boardbackgroundtype) | `enum` | [`IBoardEmptyBackground`](#iboardemptybackground), [`IBoardSolidBackground`](#iboardsolidbackground), [`IBoardGradientBackground`](#iboardgradientbackground), [`IBoardImageBackground`](#iboardimagebackground) |
| [`BoardElementType`](#boardelementtype) | `type` | [`IBoardPlaceholderElement`](#iboardplaceholderelement), [`IBoardTextElement`](#iboardtextelement), [`IBoardShapeElement`](#iboardshapeelement), [`IBoardContainerElement`](#iboardcontainerelement) |
| [`BoardHeaderFooterDateTimeMode`](#boardheaderfooterdatetimemode) | `type` | [`IBoardHeaderFooterDateTimeSlot`](#iboardheaderfooterdatetimeslot) |
| [`BoardMediaType`](#boardmediatype) | `type` | [`IBoardMediaElement`](#iboardmediaelement) |
| [`IBoardConnectorData`](#iboardconnectordata) | `interface` | [`IBoardConnectorElement`](#iboardconnectorelement) |
| [`IBoardContainerData`](#iboardcontainerdata) | `interface` | [`IBoardContainerElement`](#iboardcontainerelement) |
| [`IBoardElementBase`](#iboardelementbase) | `interface` | [`IBoardPlaceholderElement`](#iboardplaceholderelement), [`IBoardTextElement`](#iboardtextelement), [`IBoardShapeElement`](#iboardshapeelement), [`IBoardContainerElement`](#iboardcontainerelement) |
| [`IBoardGradientStop`](#iboardgradientstop) | `interface` | [`IBoardGradientBackground`](#iboardgradientbackground) |
| [`IBoardPlaceholderData`](#iboardplaceholderdata) | `interface` | [`IBoardPlaceholderElement`](#iboardplaceholderelement), [`IBoardChartElement`](#iboardchartelement), [`IBoardTableElement`](#iboardtableelement) |
| [`IBoardPlaceholderStyle`](#iboardplaceholderstyle) | `interface` | [`IBoardPlaceholderElement`](#iboardplaceholderelement) |
| [`IBoardReflectionEffect`](#iboardreflectioneffect) | `interface` | [`IBoardEffectStyle`](#iboardeffectstyle) |
| [`IBoardShapeData`](#iboardshapedata) | `interface` | [`IBoardShapeElement`](#iboardshapeelement), [`IBoardContainerData`](#iboardcontainerdata) |
| [`IBoardTextStyle`](#iboardtextstyle) | `interface` | [`IBoardTextElement`](#iboardtextelement), [`IBoardContainerData`](#iboardcontainerdata), [`IBoardSwimlaneLane`](#iboardswimlanelane) |
| [`BoardConnectorRouting`](#boardconnectorrouting) | `type` | [`IBoardConnectorData`](#iboardconnectordata) |
| [`BoardConnectorRoutingMode`](#boardconnectorroutingmode) | `type` | [`IBoardConnectorData`](#iboardconnectordata) |
| [`BoardContainerKind`](#boardcontainerkind) | `type` | [`IBoardContainerData`](#iboardcontainerdata) |
| [`BoardContainerTitlePosition`](#boardcontainertitleposition) | `type` | [`IBoardContainerData`](#iboardcontainerdata) |
| [`BoardElementManagedBy`](#boardelementmanagedby) | `type` | [`IBoardElementBase`](#iboardelementbase) |
| [`BoardElementRole`](#boardelementrole) | `type` | [`IBoardElementBase`](#iboardelementbase) |
| [`BoardPlaceholderType`](#boardplaceholdertype) | `type` | [`IBoardPlaceholderData`](#iboardplaceholderdata) |
| [`IBoardConnectorCurveData`](#iboardconnectorcurvedata) | `interface` | [`IBoardConnectorData`](#iboardconnectordata) |
| [`IBoardConnectorEndpoint`](#iboardconnectorendpoint) | `type` | [`IBoardConnectorData`](#iboardconnectordata), [`IBoardConnectorCurveAnchor`](#iboardconnectorcurveanchor) |
| [`IBoardConnectorLabel`](#iboardconnectorlabel) | `interface` | [`IBoardConnectorData`](#iboardconnectordata) |
| [`IBoardConnectorOrthogonalData`](#iboardconnectororthogonaldata) | `interface` | [`IBoardConnectorData`](#iboardconnectordata) |
| [`IBoardConnectorStyle`](#iboardconnectorstyle) | `interface` | [`IBoardConnectorData`](#iboardconnectordata) |
| [`IBoardConnectorWaypoint`](#iboardconnectorwaypoint) | `interface` | [`IBoardConnectorData`](#iboardconnectordata), [`IBoardConnectorOrthogonalData`](#iboardconnectororthogonaldata) |
| [`IBoardContainerBehavior`](#iboardcontainerbehavior) | `interface` | [`IBoardContainerData`](#iboardcontainerdata) |
| [`IBoardContainerCapturePolicy`](#iboardcontainercapturepolicy) | `interface` | [`IBoardContainerData`](#iboardcontainerdata) |
| [`IBoardContainerPadding`](#iboardcontainerpadding) | `interface` | [`IBoardContainerData`](#iboardcontainerdata) |
| [`IBoardElementTransform`](#iboardelementtransform) | `interface` | [`IBoardElementBase`](#iboardelementbase), [`IBoardPlaceholderData`](#iboardplaceholderdata) |
| [`IBoardShapeGeometry`](#iboardshapegeometry) | `interface` | [`IBoardShapeData`](#iboardshapedata) |
| [`IBoardSwimlaneData`](#iboardswimlanedata) | `interface` | [`IBoardContainerData`](#iboardcontainerdata) |
| [`BoardContainerMembershipAwareness`](#boardcontainermembershipawareness) | `type` | [`IBoardContainerBehavior`](#iboardcontainerbehavior) |
| [`IBoardConnectorAnimation`](#iboardconnectoranimation) | `interface` | [`IBoardConnectorStyle`](#iboardconnectorstyle) |
| [`IBoardConnectorCurveAnchor`](#iboardconnectorcurveanchor) | `interface` | [`IBoardConnectorCurveData`](#iboardconnectorcurvedata) |
| [`IBoardConnectorCurveControl`](#iboardconnectorcurvecontrol) | `interface` | [`IBoardConnectorCurveData`](#iboardconnectorcurvedata) |
| [`IBoardConnectorFreeEndpoint`](#iboardconnectorfreeendpoint) | `interface` | [`IBoardConnectorEndpoint`](#iboardconnectorendpoint) |
| [`IBoardConnectorLabelLayout`](#iboardconnectorlabellayout) | `type` | [`IBoardConnectorLabel`](#iboardconnectorlabel) |
| [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement) | `interface` | [`IBoardConnectorLabel`](#iboardconnectorlabel) |
| [`IBoardConnectorLabelStyle`](#iboardconnectorlabelstyle) | `interface` | [`IBoardConnectorLabel`](#iboardconnectorlabel) |
| [`IBoardConnectorLifelineEndpoint`](#iboardconnectorlifelineendpoint) | `interface` | [`IBoardConnectorEndpoint`](#iboardconnectorendpoint) |
| [`IBoardConnectorMarker`](#iboardconnectormarker) | `interface` | [`IBoardConnectorStyle`](#iboardconnectorstyle) |
| [`IBoardConnectorPoint`](#iboardconnectorpoint) | `interface` | [`IBoardConnectorWaypoint`](#iboardconnectorwaypoint), [`IBoardConnectorFreeEndpoint`](#iboardconnectorfreeendpoint), [`IBoardConnectorLifelineEndpoint`](#iboardconnectorlifelineendpoint), [`IBoardConnectorShapeBoundaryEndpoint`](#iboardconnectorshapeboundaryendpoint) |
| [`IBoardConnectorShapeBoundaryEndpoint`](#iboardconnectorshapeboundaryendpoint) | `interface` | [`IBoardConnectorEndpoint`](#iboardconnectorendpoint) |
| [`IBoardConnectorShapeSiteEndpoint`](#iboardconnectorshapesiteendpoint) | `interface` | [`IBoardConnectorEndpoint`](#iboardconnectorendpoint) |
| [`IBoardConnectorSharedRailData`](#iboardconnectorsharedraildata) | `interface` | [`IBoardConnectorOrthogonalData`](#iboardconnectororthogonaldata) |
| [`IBoardShapePath`](#iboardshapepath) | `interface` | [`IBoardShapeGeometry`](#iboardshapegeometry) |
| [`IBoardSwimlaneLane`](#iboardswimlanelane) | `interface` | [`IBoardSwimlaneData`](#iboardswimlanedata) |
| [`BoardConnectorAnimationMode`](#boardconnectoranimationmode) | `type` | [`IBoardConnectorAnimation`](#iboardconnectoranimation) |
| [`BoardConnectorLabelAnchor`](#boardconnectorlabelanchor) | `type` | [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement) |
| [`BoardConnectorLabelOrientation`](#boardconnectorlabelorientation) | `type` | [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement) |
| [`BoardConnectorLabelSide`](#boardconnectorlabelside) | `type` | [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement) |
| [`BoardConnectorLabelSizing`](#boardconnectorlabelsizing) | `type` | [`IBoardConnectorLabelLayout`](#iboardconnectorlabellayout) |
| [`BoardConnectorMarkerSize`](#boardconnectormarkersize) | `type` | [`IBoardConnectorMarker`](#iboardconnectormarker) |
| [`BoardConnectorMarkerType`](#boardconnectormarkertype) | `type` | [`IBoardConnectorMarker`](#iboardconnectormarker) |
| [`IBoardConnectorLabelOffset`](#iboardconnectorlabeloffset) | `type` | [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement) |
| [`BoardConnectorLabelOffsetSpace`](#boardconnectorlabeloffsetspace) | `type` | [`IBoardConnectorLabelOffset`](#iboardconnectorlabeloffset) |

## `BoardCustomData` [#boardcustomdata]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md) · [`IBoardPage`](#iboardpage) · [`IBoardThemeData`](#iboardthemedata) · [`IBoardElementBase`](#iboardelementbase) · [`IBoardPlaceholderData`](#iboardplaceholderdata) · [`IBoardContainerData`](#iboardcontainerdata)

```ts
type BoardCustomData = Record<string, unknown> | null
```

## `IBoardPage` [#iboardpage]

`import type { IBoardPage } from '@univerjs-pro/boards'` · Used by [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md)

```ts
interface IBoardPage {
  id: string
  pageType: BoardPageType
  name: string
  themeId?: string
  pageSize?: IBoardPageSize
  background?: IBoardBackgroundData
  headerFooter?: IBoardHeaderFooterData
  showMasterSp?: boolean
  elementOrder: string[]
  elements: Record<string, IBoardPageElement>
  visible?: boolean
  custom?: BoardCustomData
}
```

**Related types:** [`BoardPageType`](#boardpagetype) · [`IBoardPageSize`](#iboardpagesize) · [`IBoardBackgroundData`](#iboardbackgrounddata) · [`IBoardHeaderFooterData`](#iboardheaderfooterdata) · [`IBoardPageElement`](#iboardpageelement) · [`BoardCustomData`](#boardcustomdata)

## `IBoardPageSize` [#iboardpagesize]

`import type { IBoardPageSize } from '@univerjs-pro/boards'` · Used by [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md) · [`IBoardPage`](#iboardpage)

```ts
interface IBoardPageSize {
  width: number
  height: number
  preset?: BoardPageSizePreset
}
```

**Related types:** [`BoardPageSizePreset`](#boardpagesizepreset)

## `IBoardThemeData` [#iboardthemedata]

`import type { IBoardThemeData } from '@univerjs-pro/boards'` · Used by [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md)

```ts
interface IBoardThemeData {
  id?: string
  name?: string
  colorScheme?: Record<string, string>
  fontScheme?: {
    heading?: string
    body?: string
  }
  fmtScheme?: IBoardFmtScheme
  custom?: BoardCustomData
}
```

**Related types:** [`IBoardFmtScheme`](#iboardfmtscheme) · [`BoardCustomData`](#boardcustomdata)

## `IBoardTransitionData` [#iboardtransitiondata]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardData`](https://docs.univer.ai/ru-RU/reference/types/board-data.md)

```ts
interface IBoardTransitionData {
  type: BoardTransitionType
  duration?: number
  direction?: BoardTransitionDirection
  advanceOnClick?: boolean
  advanceAfterTime?: number
  speed?: BoardTransitionSpeed
  sound?: IBoardTransitionSound
  loopSoundUntilNext?: boolean
  effectOptions?: Record<string, unknown>
  extension?: Record<string, unknown>
}
```

**Related types:** [`BoardTransitionType`](#boardtransitiontype) · [`BoardTransitionDirection`](#boardtransitiondirection) · [`BoardTransitionSpeed`](#boardtransitionspeed) · [`IBoardTransitionSound`](#iboardtransitionsound)

## `BoardPageSizePreset` [#boardpagesizepreset]

`import { BoardPageSizePreset } from '@univerjs-pro/boards'` · Used by [`IBoardPageSize`](#iboardpagesize)

```ts
enum BoardPageSizePreset {
  Standard4By3 = 'standard4By3',
  WideScreen16By9 = 'wideScreen16By9',
  WideScreen16By10 = 'wideScreen16By10',
  Custom = 'custom',
}
```

## `BoardPageType` [#boardpagetype]

`import { BoardPageType } from '@univerjs-pro/boards'` · Used by [`IBoardPage`](#iboardpage)

```ts
enum BoardPageType {
  Page = 'page',
  Master = 'master',
  Layout = 'layout',
  HandoutMaster = 'handoutMaster',
  NotesMaster = 'notesMaster',
}
```

## `BoardTransitionDirection` [#boardtransitiondirection]

`import { BoardTransitionDirection } from '@univerjs-pro/boards'` · Used by [`IBoardTransitionData`](#iboardtransitiondata)

```ts
enum BoardTransitionDirection {
  Left = 'left',
  Right = 'right',
  Up = 'up',
  Down = 'down',
}
```

## `BoardTransitionSpeed` [#boardtransitionspeed]

`import { BoardTransitionSpeed } from '@univerjs-pro/boards'` · Used by [`IBoardTransitionData`](#iboardtransitiondata)

```ts
enum BoardTransitionSpeed {
  Slow = 'slow',
  Medium = 'medium',
  Fast = 'fast',
}
```

## `BoardTransitionType` [#boardtransitiontype]

`import { BoardTransitionType } from '@univerjs-pro/boards'` · Used by [`IBoardTransitionData`](#iboardtransitiondata)

```ts
enum BoardTransitionType {
  None = 'none',
  Fade = 'fade',
  Push = 'push',
  Wipe = 'wipe',
  Cut = 'cut',
  Cover = 'cover',
  Uncover = 'uncover',
  Reveal = 'reveal',
  Split = 'split',
  Zoom = 'zoom',
}
```

## `IBoardBackgroundData` [#iboardbackgrounddata]

`import type { IBoardBackgroundData } from '@univerjs-pro/boards'` · Used by [`IBoardPage`](#iboardpage)

```ts
type IBoardBackgroundData =
  | IBoardEmptyBackground
  | IBoardSolidBackground
  | IBoardGradientBackground
  | IBoardImageBackground
  | IBoardPatternBackground
```

**Related types:** [`IBoardEmptyBackground`](#iboardemptybackground) · [`IBoardSolidBackground`](#iboardsolidbackground) · [`IBoardGradientBackground`](#iboardgradientbackground) · [`IBoardImageBackground`](#iboardimagebackground) · [`IBoardPatternBackground`](#iboardpatternbackground)

## `IBoardFmtScheme` [#iboardfmtscheme]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardThemeData`](#iboardthemedata)

```ts
interface IBoardFmtScheme {
  name?: string
  fillStyleLst: IBoardFillStyle[]
  lnStyleLst: IShapeLineStyle[]
  effectStyleLst: IBoardEffectStyle[]
  bgFillStyleLst: IBoardFillStyle[]
}
```

**Related types:** [`IBoardFillStyle`](#iboardfillstyle) · [`IShapeLineStyle`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ishapelinestyle) · [`IBoardEffectStyle`](#iboardeffectstyle)

## `IBoardHeaderFooterData` [#iboardheaderfooterdata]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardPage`](#iboardpage)

```ts
interface IBoardHeaderFooterData {
  header?: IBoardHeaderFooterSlot
  footer?: IBoardHeaderFooterSlot
  dateTime?: IBoardHeaderFooterDateTimeSlot
  slideNumber?: IBoardHeaderFooterSlot
}
```

**Related types:** [`IBoardHeaderFooterSlot`](#iboardheaderfooterslot) · [`IBoardHeaderFooterDateTimeSlot`](#iboardheaderfooterdatetimeslot)

## `IBoardPageElement` [#iboardpageelement]

`import type { IBoardPageElement } from '@univerjs-pro/boards'` · Used by [`IBoardPage`](#iboardpage)

```ts
type IBoardPageElement =
  | IBoardPlaceholderElement
  | IBoardTextElement
  | IBoardShapeElement
  | IBoardContainerElement
  | IBoardConnectorElement
  | IBoardImageElement
  | IBoardChartElement
  | IBoardTableElement
  | IBoardMediaElement
  | IBoardGroupElement
```

**Related types:** [`IBoardPlaceholderElement`](#iboardplaceholderelement) · [`IBoardTextElement`](#iboardtextelement) · [`IBoardShapeElement`](#iboardshapeelement) · [`IBoardContainerElement`](#iboardcontainerelement) · [`IBoardConnectorElement`](#iboardconnectorelement) · [`IBoardImageElement`](#iboardimageelement) · [`IBoardChartElement`](#iboardchartelement) · [`IBoardTableElement`](#iboardtableelement) · [`IBoardMediaElement`](#iboardmediaelement) · [`IBoardGroupElement`](#iboardgroupelement)

## `IBoardTransitionSound` [#iboardtransitionsound]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardTransitionData`](#iboardtransitiondata)

```ts
interface IBoardTransitionSound {
  name?: string
  source?: string
  loopUntilNext?: boolean
}
```

## `IBoardChartElement` [#iboardchartelement]

`import type { IBoardChartElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardChartElement extends IBoardElementBase {
  type: typeof BoardElementType.Chart
  chartId: string
  placeholder?: IBoardPlaceholderData
  stroke?: IShapeLineStyle
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`IBoardPlaceholderData`](#iboardplaceholderdata) · [`IShapeLineStyle`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ishapelinestyle)

## `IBoardConnectorElement` [#iboardconnectorelement]

`import type { IBoardConnectorElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardConnectorElement extends IBoardElementBase {
  type: typeof BoardElementType.Connector
  connectorData: IBoardConnectorData
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`IBoardConnectorData`](#iboardconnectordata)

## `IBoardContainerElement` [#iboardcontainerelement]

`import type { IBoardContainerElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardContainerElement extends IBoardElementBase {
  type: typeof BoardElementType.Container
  containerData: IBoardContainerData
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`IBoardContainerData`](#iboardcontainerdata)

## `IBoardEffectStyle` [#iboardeffectstyle]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardFmtScheme`](#iboardfmtscheme)

```ts
interface IBoardEffectStyle {
  outerShadow?: IShadowEffect
  innerShadow?: IShadowEffect
  reflection?: IBoardReflectionEffect
  glow?: IGlowEffect
}
```

**Related types:** [`IShadowEffect`](https://docs.univer.ai/ru-RU/reference/types/common-types.md#ishadoweffect) · [`IBoardReflectionEffect`](#iboardreflectioneffect) · [`IGlowEffect`](https://docs.univer.ai/ru-RU/reference/types/common-types.md#igloweffect)

## `IBoardEmptyBackground` [#iboardemptybackground]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardBackgroundData`](#iboardbackgrounddata)

```ts
interface IBoardEmptyBackground {
  type: BoardBackgroundType.None
}
```

**Related types:** [`BoardBackgroundType.None`](#boardbackgroundtype)

## `IBoardFillStyle` [#iboardfillstyle]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardFmtScheme`](#iboardfmtscheme)

```ts
type IBoardFillStyle = NonNullable<IBasicShapeData['fill']>
```

**Related types:** [`IBasicShapeData`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ibasicshapedata)

## `IBoardGradientBackground` [#iboardgradientbackground]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardBackgroundData`](#iboardbackgrounddata)

```ts
interface IBoardGradientBackground {
  type: BoardBackgroundType.Gradient
  angle?: number
  stops: IBoardGradientStop[]
}
```

**Related types:** [`BoardBackgroundType.Gradient`](#boardbackgroundtype) · [`IBoardGradientStop`](#iboardgradientstop)

## `IBoardGroupElement` [#iboardgroupelement]

`import type { IBoardGroupElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardGroupElement extends IBoardElementBase {
  type: typeof BoardElementType.Group
  children: string[]
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase)

## `IBoardHeaderFooterDateTimeSlot` [#iboardheaderfooterdatetimeslot]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardHeaderFooterData`](#iboardheaderfooterdata)

```ts
interface IBoardHeaderFooterDateTimeSlot extends IBoardHeaderFooterSlot {
  mode?: BoardHeaderFooterDateTimeMode
  format?: string
}
```

**Related types:** [`IBoardHeaderFooterSlot`](#iboardheaderfooterslot) · [`BoardHeaderFooterDateTimeMode`](#boardheaderfooterdatetimemode)

## `IBoardHeaderFooterSlot` [#iboardheaderfooterslot]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardHeaderFooterData`](#iboardheaderfooterdata) · [`IBoardHeaderFooterDateTimeSlot`](#iboardheaderfooterdatetimeslot)

```ts
interface IBoardHeaderFooterSlot {
  enabled?: boolean
  text?: string
}
```

## `IBoardImageBackground` [#iboardimagebackground]

`import type { IBoardImageBackground } from '@univerjs-pro/boards'` · Used by [`IBoardBackgroundData`](#iboardbackgrounddata)

```ts
interface IBoardImageBackground {
  type: BoardBackgroundType.Image
  source: string
  imageSourceType?: ImageSourceType
  fit?: BoardBackgroundImageFit
}
```

**Related types:** [`BoardBackgroundType.Image`](#boardbackgroundtype) · [`ImageSourceType`](https://docs.univer.ai/ru-RU/reference/types/common-types.md#imagesourcetype) · [`BoardBackgroundImageFit`](#boardbackgroundimagefit)

## `IBoardImageElement` [#iboardimageelement]

`import type { IBoardImageElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardImageElement extends IBoardElementBase {
  type: typeof BoardElementType.Image
  source: string
  imageSourceType?: ImageSourceType
  crop?: {
    left?: number
    top?: number
    right?: number
    bottom?: number
  }
  prstGeom?: ShapeTypeEnum
  adjustValues?: Record<string, number>
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`ImageSourceType`](https://docs.univer.ai/ru-RU/reference/types/common-types.md#imagesourcetype) · [`ShapeTypeEnum`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#shapetypeenum)

## `IBoardMediaElement` [#iboardmediaelement]

`import type { IBoardMediaElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardMediaElement extends IBoardElementBase {
  type: typeof BoardElementType.Media
  mediaType: BoardMediaType
  source: string
  poster?: string
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`BoardMediaType`](#boardmediatype)

## `IBoardPatternBackground` [#iboardpatternbackground]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardBackgroundData`](#iboardbackgrounddata)

```ts
interface IBoardPatternBackground {
  type: BoardBackgroundType.Pattern
  pattern: string
  foregroundColor?: string
  backgroundColor?: string
}
```

**Related types:** [`BoardBackgroundType.Pattern`](#boardbackgroundtype)

## `IBoardPlaceholderElement` [#iboardplaceholderelement]

`import type { IBoardPlaceholderElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardPlaceholderElement extends IBoardElementBase {
  type: typeof BoardElementType.Placeholder
  placeholder: IBoardPlaceholderData
  text?: string
  style?: IBoardPlaceholderStyle
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`IBoardPlaceholderData`](#iboardplaceholderdata) · [`IBoardPlaceholderStyle`](#iboardplaceholderstyle)

## `IBoardShapeElement` [#iboardshapeelement]

`import type { IBoardShapeElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardShapeElement extends IBoardElementBase {
  type: typeof BoardElementType.Shape
  shapeData: IBoardShapeData

  textResizeReferenceSize?: { width: number; height: number }
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`IBoardShapeData`](#iboardshapedata)

## `IBoardSolidBackground` [#iboardsolidbackground]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardBackgroundData`](#iboardbackgrounddata)

```ts
interface IBoardSolidBackground {
  type: BoardBackgroundType.Solid
  color: string
  alpha?: number
}
```

**Related types:** [`BoardBackgroundType.Solid`](#boardbackgroundtype)

## `IBoardTableElement` [#iboardtableelement]

`import type { IBoardTableElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardTableElement extends IBoardElementBase {
  type: typeof BoardElementType.Table
  tableId: string
  placeholder?: IBoardPlaceholderData
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`IBoardPlaceholderData`](#iboardplaceholderdata)

## `IBoardTextElement` [#iboardtextelement]

`import type { IBoardTextElement } from '@univerjs-pro/boards'` · Used by [`IBoardPageElement`](#iboardpageelement)

```ts
interface IBoardTextElement extends IBoardElementBase {
  type: typeof BoardElementType.Text
  text?: string
  textStyle?: IBoardTextStyle
  textData?: IDocumentData
}
```

**Related types:** [`IBoardElementBase`](#iboardelementbase) · [`IBoardTextStyle`](#iboardtextstyle) · [`IDocumentData`](https://docs.univer.ai/ru-RU/reference/types/document-data.md)

## `BoardBackgroundImageFit` [#boardbackgroundimagefit]

`import type { BoardBackgroundImageFit } from '@univerjs-pro/boards'` · Used by [`IBoardImageBackground`](#iboardimagebackground)

```ts
type BoardBackgroundImageFit = 'cover' | 'contain' | 'stretch'
```

## `BoardBackgroundType` [#boardbackgroundtype]

`import { BoardBackgroundType } from '@univerjs-pro/boards'` · Used by [`IBoardEmptyBackground`](#iboardemptybackground) · [`IBoardSolidBackground`](#iboardsolidbackground) · [`IBoardGradientBackground`](#iboardgradientbackground) · [`IBoardImageBackground`](#iboardimagebackground) · [`IBoardPatternBackground`](#iboardpatternbackground)

```ts
enum BoardBackgroundType {
  None = 'none',
  Solid = 'solid',
  Gradient = 'gradient',
  Image = 'image',
  Pattern = 'pattern',
}
```

## `BoardElementType` [#boardelementtype]

`import type { BoardElementType } from '@univerjs-pro/boards'` · Used by [`IBoardPlaceholderElement`](#iboardplaceholderelement) · [`IBoardTextElement`](#iboardtextelement) · [`IBoardShapeElement`](#iboardshapeelement) · [`IBoardContainerElement`](#iboardcontainerelement) · [`IBoardConnectorElement`](#iboardconnectorelement) · [`IBoardImageElement`](#iboardimageelement) · [`IBoardChartElement`](#iboardchartelement) · [`IBoardTableElement`](#iboardtableelement) · [`IBoardMediaElement`](#iboardmediaelement) · [`IBoardGroupElement`](#iboardgroupelement) · [`IBoardElementBase`](#iboardelementbase)

```ts
type BoardElementType = (typeof BoardElementType)[keyof typeof BoardElementType]
```

## `BoardHeaderFooterDateTimeMode` [#boardheaderfooterdatetimemode]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardHeaderFooterDateTimeSlot`](#iboardheaderfooterdatetimeslot)

```ts
type BoardHeaderFooterDateTimeMode = 'auto' | 'fixed'
```

## `BoardMediaType` [#boardmediatype]

`import type { BoardMediaType } from '@univerjs-pro/boards'` · Used by [`IBoardMediaElement`](#iboardmediaelement)

```ts
type BoardMediaType = (typeof BoardMediaType)[keyof typeof BoardMediaType]
```

## `IBoardConnectorData` [#iboardconnectordata]

`import type { IBoardConnectorData } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorElement`](#iboardconnectorelement)

```ts
interface IBoardConnectorData {
  start: IBoardConnectorEndpoint
  end: IBoardConnectorEndpoint
  routing: BoardConnectorRouting
  routingMode: BoardConnectorRoutingMode
  waypoints?: IBoardConnectorWaypoint[]
  orthogonalData?: IBoardConnectorOrthogonalData
  curveData?: IBoardConnectorCurveData
  style?: IBoardConnectorStyle

  labels?: IBoardConnectorLabel[]
  meta?: {
    pptCompat?: unknown
  }
}
```

**Related types:** [`IBoardConnectorEndpoint`](#iboardconnectorendpoint) · [`BoardConnectorRouting`](#boardconnectorrouting) · [`BoardConnectorRoutingMode`](#boardconnectorroutingmode) · [`IBoardConnectorWaypoint`](#iboardconnectorwaypoint) · [`IBoardConnectorOrthogonalData`](#iboardconnectororthogonaldata) · [`IBoardConnectorCurveData`](#iboardconnectorcurvedata) · [`IBoardConnectorStyle`](#iboardconnectorstyle) · [`IBoardConnectorLabel`](#iboardconnectorlabel)

## `IBoardContainerData` [#iboardcontainerdata]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardContainerElement`](#iboardcontainerelement)

```ts
interface IBoardContainerData {
  kind: BoardContainerKind
  title?: string
  titleVisible?: boolean
  titlePosition?: BoardContainerTitlePosition

  titleOffsetX?: number
  headerSize?: number
  padding: IBoardContainerPadding
  shapeData: IBoardShapeData
  behavior: IBoardContainerBehavior
  capturePolicy: IBoardContainerCapturePolicy
  style?: {
    titleStyle?: IBoardTextStyle
  }
  swimlane?: IBoardSwimlaneData
  custom?: BoardCustomData
}
```

**Related types:** [`BoardContainerKind`](#boardcontainerkind) · [`BoardContainerTitlePosition`](#boardcontainertitleposition) · [`IBoardContainerPadding`](#iboardcontainerpadding) · [`IBoardShapeData`](#iboardshapedata) · [`IBoardContainerBehavior`](#iboardcontainerbehavior) · [`IBoardContainerCapturePolicy`](#iboardcontainercapturepolicy) · [`IBoardTextStyle`](#iboardtextstyle) · [`IBoardSwimlaneData`](#iboardswimlanedata) · [`BoardCustomData`](#boardcustomdata)

## `IBoardElementBase` [#iboardelementbase]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardPlaceholderElement`](#iboardplaceholderelement) · [`IBoardTextElement`](#iboardtextelement) · [`IBoardShapeElement`](#iboardshapeelement) · [`IBoardContainerElement`](#iboardcontainerelement) · [`IBoardConnectorElement`](#iboardconnectorelement) · [`IBoardImageElement`](#iboardimageelement) · [`IBoardChartElement`](#iboardchartelement) · [`IBoardTableElement`](#iboardtableelement) · [`IBoardMediaElement`](#iboardmediaelement) · [`IBoardGroupElement`](#iboardgroupelement)

```ts
interface IBoardElementBase {
  id: string
  type: BoardElementType
  transform: IBoardElementTransform
  parentId?: string
  laneId?: string
  role?: BoardElementRole
  managedBy?: BoardElementManagedBy
  name?: string
  description?: string
  visible?: boolean
  selectable?: boolean
  locked?: boolean
  custom?: BoardCustomData
}
```

**Related types:** [`BoardElementType`](#boardelementtype) · [`IBoardElementTransform`](#iboardelementtransform) · [`BoardElementRole`](#boardelementrole) · [`BoardElementManagedBy`](#boardelementmanagedby) · [`BoardCustomData`](#boardcustomdata)

## `IBoardGradientStop` [#iboardgradientstop]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardGradientBackground`](#iboardgradientbackground)

```ts
interface IBoardGradientStop {
  color: string
  position: number
  alpha?: number
}
```

## `IBoardPlaceholderData` [#iboardplaceholderdata]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardPlaceholderElement`](#iboardplaceholderelement) · [`IBoardChartElement`](#iboardchartelement) · [`IBoardTableElement`](#iboardtableelement)

```ts
interface IBoardPlaceholderData {
  id: string
  type: BoardPlaceholderType
  index?: number
  transform?: IBoardElementTransform
  defaultText?: string
  custom?: BoardCustomData
}
```

**Related types:** [`BoardPlaceholderType`](#boardplaceholdertype) · [`IBoardElementTransform`](#iboardelementtransform) · [`BoardCustomData`](#boardcustomdata)

## `IBoardPlaceholderStyle` [#iboardplaceholderstyle]

`import type { IBoardPlaceholderStyle } from '@univerjs-pro/boards'` · Used by [`IBoardPlaceholderElement`](#iboardplaceholderelement)

```ts
interface IBoardPlaceholderStyle {
  fill?: IBasicShapeData['fill']
  stroke?: IShapeLineStyle
}
```

**Related types:** [`IBasicShapeData`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ibasicshapedata) · [`IShapeLineStyle`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ishapelinestyle)

## `IBoardReflectionEffect` [#iboardreflectioneffect]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardEffectStyle`](#iboardeffectstyle)

```ts
interface IBoardReflectionEffect {
  blurRadius?: number
  startAlpha?: number
  endAlpha?: number
  distance?: number
  direction?: number
}
```

## `IBoardShapeData` [#iboardshapedata]

`import type { IBoardShapeData } from '@univerjs-pro/boards'` · Used by [`IBoardShapeElement`](#iboardshapeelement) · [`IBoardContainerData`](#iboardcontainerdata)

```ts
interface IBoardShapeData extends IBasicShapeData {
  customGeometry?: IBoardShapeGeometry

  compartmentText?: boolean

  strokeReferenceSize?: { width: number; height: number }
}
```

**Related types:** [`IBasicShapeData`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ibasicshapedata) · [`IBoardShapeGeometry`](#iboardshapegeometry)

## `IBoardTextStyle` [#iboardtextstyle]

`import type { IBoardTextStyle } from '@univerjs-pro/boards'` · Used by [`IBoardTextElement`](#iboardtextelement) · [`IBoardContainerData`](#iboardcontainerdata) · [`IBoardSwimlaneLane`](#iboardswimlanelane)

```ts
interface IBoardTextStyle {
  color?: string
  fontFamily?: string
  fontSize?: number
  bold?: boolean
  italic?: boolean
  underline?: boolean
  horizontalAlign?: HorizontalAlign
  verticalAlign?: VerticalAlign
}
```

**Related types:** [`HorizontalAlign`](https://docs.univer.ai/ru-RU/reference/enums/horizontal-align.md) · [`VerticalAlign`](https://docs.univer.ai/ru-RU/reference/enums/vertical-align.md)

## `BoardConnectorRouting` [#boardconnectorrouting]

`import type { BoardConnectorRouting } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorData`](#iboardconnectordata)

```ts
type BoardConnectorRouting = 'straight' | 'orthogonal' | 'curve' | 'freePolyline'
```

## `BoardConnectorRoutingMode` [#boardconnectorroutingmode]

`import type { BoardConnectorRoutingMode } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorData`](#iboardconnectordata)

```ts
type BoardConnectorRoutingMode = 'auto' | 'manual' | 'mixed'
```

## `BoardContainerKind` [#boardcontainerkind]

`import type { BoardContainerKind } from '@univerjs-pro/boards'` · Used by [`IBoardContainerData`](#iboardcontainerdata)

```ts
type BoardContainerKind = 'generic' | 'swimlane' | 'uml-package' | 'system-boundary'
```

## `BoardContainerTitlePosition` [#boardcontainertitleposition]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardContainerData`](#iboardcontainerdata)

```ts
type BoardContainerTitlePosition = 'top' | 'inside'
```

## `BoardElementManagedBy` [#boardelementmanagedby]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardElementBase`](#iboardelementbase)

```ts
type BoardElementManagedBy = 'presentationBackground'
```

## `BoardElementRole` [#boardelementrole]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardElementBase`](#iboardelementbase)

```ts
type BoardElementRole = 'backgroundGraphic'
```

## `BoardPlaceholderType` [#boardplaceholdertype]

`import type { BoardPlaceholderType } from '@univerjs-pro/boards'` · Used by [`IBoardPlaceholderData`](#iboardplaceholderdata)

```ts
type BoardPlaceholderType = (typeof BoardPlaceholderType)[keyof typeof BoardPlaceholderType]
```

## `IBoardConnectorCurveData` [#iboardconnectorcurvedata]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardConnectorData`](#iboardconnectordata)

```ts
interface IBoardConnectorCurveData {
  anchors?: IBoardConnectorCurveAnchor[]
  controls?: IBoardConnectorCurveControl[]
  tension?: number
}
```

**Related types:** [`IBoardConnectorCurveAnchor`](#iboardconnectorcurveanchor) · [`IBoardConnectorCurveControl`](#iboardconnectorcurvecontrol)

## `IBoardConnectorEndpoint` [#iboardconnectorendpoint]

`import type { IBoardConnectorEndpoint } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorData`](#iboardconnectordata) · [`IBoardConnectorCurveAnchor`](#iboardconnectorcurveanchor)

```ts
type IBoardConnectorEndpoint =
  | IBoardConnectorFreeEndpoint
  | IBoardConnectorLifelineEndpoint
  | IBoardConnectorShapeBoundaryEndpoint
  | IBoardConnectorShapeSiteEndpoint
```

**Related types:** [`IBoardConnectorFreeEndpoint`](#iboardconnectorfreeendpoint) · [`IBoardConnectorLifelineEndpoint`](#iboardconnectorlifelineendpoint) · [`IBoardConnectorShapeBoundaryEndpoint`](#iboardconnectorshapeboundaryendpoint) · [`IBoardConnectorShapeSiteEndpoint`](#iboardconnectorshapesiteendpoint)

## `IBoardConnectorLabel` [#iboardconnectorlabel]

`import type { IBoardConnectorLabel } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorData`](#iboardconnectordata)

```ts
interface IBoardConnectorLabel {
  id: string

  layout?: IBoardConnectorLabelLayout

  content?: string | IDocumentData

  placement?: IBoardConnectorLabelPlacement
  style?: IBoardConnectorLabelStyle
}
```

**Related types:** [`IBoardConnectorLabelLayout`](#iboardconnectorlabellayout) · [`IDocumentData`](https://docs.univer.ai/ru-RU/reference/types/document-data.md) · [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement) · [`IBoardConnectorLabelStyle`](#iboardconnectorlabelstyle)

## `IBoardConnectorOrthogonalData` [#iboardconnectororthogonaldata]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardConnectorData`](#iboardconnectordata)

```ts
interface IBoardConnectorOrthogonalData {
  settled?: true
  sharedRail?: IBoardConnectorSharedRailData
  routePoints?: IBoardConnectorWaypoint[]
}
```

**Related types:** [`IBoardConnectorSharedRailData`](#iboardconnectorsharedraildata) · [`IBoardConnectorWaypoint`](#iboardconnectorwaypoint)

## `IBoardConnectorStyle` [#iboardconnectorstyle]

`import type { IBoardConnectorStyle } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorData`](#iboardconnectordata)

```ts
interface IBoardConnectorStyle {
  stroke?: string
  strokeWidth?: number
  opacity?: number
  dash?: number[]
  startMarker?: IBoardConnectorMarker
  endMarker?: IBoardConnectorMarker
  cornerStyle?: 'miter' | 'rounded'
  lineJump?: 'none' | 'arc' | 'gap'

  animation?: IBoardConnectorAnimation
}
```

**Related types:** [`IBoardConnectorMarker`](#iboardconnectormarker) · [`IBoardConnectorAnimation`](#iboardconnectoranimation)

## `IBoardConnectorWaypoint` [#iboardconnectorwaypoint]

`import type { IBoardConnectorWaypoint } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorData`](#iboardconnectordata) · [`IBoardConnectorOrthogonalData`](#iboardconnectororthogonaldata)

```ts
interface IBoardConnectorWaypoint extends IBoardConnectorPoint {
  id: string
  kind: 'manual' | 'auto'
  locked?: boolean
}
```

**Related types:** [`IBoardConnectorPoint`](#iboardconnectorpoint)

## `IBoardContainerBehavior` [#iboardcontainerbehavior]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardContainerData`](#iboardcontainerdata)

```ts
interface IBoardContainerBehavior {
  acceptsChildren: boolean
  acceptsContainer: boolean
  allowNested: boolean
  autoCapture: boolean
  autoResize: boolean
  membershipLocked: boolean
  membershipAwareness?: BoardContainerMembershipAwareness

  layoutOccupancy?: 'body' | 'frame'
  clipChildren: boolean
}
```

**Related types:** [`BoardContainerMembershipAwareness`](#boardcontainermembershipawareness)

## `IBoardContainerCapturePolicy` [#iboardcontainercapturepolicy]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardContainerData`](#iboardcontainerdata)

```ts
interface IBoardContainerCapturePolicy {
  enabled: boolean
  captureMode: 'strict'
  expelMode: 'hysteresis'
  expelHysteresis: number
  allowCaptureFromSiblingContainer: boolean
  allowCaptureFromAncestorContainer: boolean
  allowCaptureContainer: boolean
  allowCaptureLockedObjects?: boolean
  modifierToDisable?: 'Alt'
  modifierToForce?: 'Shift'
}
```

## `IBoardContainerPadding` [#iboardcontainerpadding]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardContainerData`](#iboardcontainerdata)

```ts
interface IBoardContainerPadding {
  top: number
  right: number
  bottom: number
  left: number
}
```

## `IBoardElementTransform` [#iboardelementtransform]

`import type { IBoardElementTransform } from '@univerjs-pro/boards'` · Used by [`IBoardElementBase`](#iboardelementbase) · [`IBoardPlaceholderData`](#iboardplaceholderdata)

```ts
interface IBoardElementTransform {
  left?: number
  top?: number
  width?: number
  height?: number
  rotation?: number
  scaleX?: number
  scaleY?: number
  skewX?: number
  skewY?: number
  flipX?: boolean
  flipY?: boolean
}
```

## `IBoardShapeGeometry` [#iboardshapegeometry]

`import type { IBoardShapeGeometry } from '@univerjs-pro/boards'` · Used by [`IBoardShapeData`](#iboardshapedata)

```ts
interface IBoardShapeGeometry extends IPresetShapeConfig {
  pathLst?: IBoardShapePath[]
  strokeReferenceSize?: { width: number; height: number }
}
```

**Related types:** [`IPresetShapeConfig`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ipresetshapeconfig) · [`IBoardShapePath`](#iboardshapepath)

## `IBoardSwimlaneData` [#iboardswimlanedata]

`import type { IBoardSwimlaneData } from '@univerjs-pro/boards'` · Used by [`IBoardContainerData`](#iboardcontainerdata)

```ts
interface IBoardSwimlaneData {
  orientation: 'horizontal' | 'vertical'
  lanes: IBoardSwimlaneLane[]
  headerPosition?: 'left' | 'top'
  headerSize?: number
  laneGap?: number
  collapsedLaneSize?: number
}
```

**Related types:** [`IBoardSwimlaneLane`](#iboardswimlanelane)

## `BoardContainerMembershipAwareness` [#boardcontainermembershipawareness]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardContainerBehavior`](#iboardcontainerbehavior)

```ts
type BoardContainerMembershipAwareness = 'interactive' | 'structural'
```

## `IBoardConnectorAnimation` [#iboardconnectoranimation]

`import type { IBoardConnectorAnimation } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorStyle`](#iboardconnectorstyle)

```ts
interface IBoardConnectorAnimation {
  mode: BoardConnectorAnimationMode

  direction?: 'forward' | 'reverse'

  speed?: number
}
```

**Related types:** [`BoardConnectorAnimationMode`](#boardconnectoranimationmode)

## `IBoardConnectorCurveAnchor` [#iboardconnectorcurveanchor]

`import type { IBoardConnectorCurveAnchor } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorCurveData`](#iboardconnectorcurvedata)

```ts
interface IBoardConnectorCurveAnchor extends IBoardConnectorPoint {
  id: string
  kind: 'manual' | 'auto'
  endpoint?: IBoardConnectorEndpoint
  locked?: boolean
}
```

**Related types:** [`IBoardConnectorPoint`](#iboardconnectorpoint) · [`IBoardConnectorEndpoint`](#iboardconnectorendpoint)

## `IBoardConnectorCurveControl` [#iboardconnectorcurvecontrol]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardConnectorCurveData`](#iboardconnectorcurvedata)

```ts
interface IBoardConnectorCurveControl extends IBoardConnectorPoint {
  id: string
  segmentIndex: number
  kind: 'manual' | 'auto'
  locked?: boolean
}
```

**Related types:** [`IBoardConnectorPoint`](#iboardconnectorpoint)

## `IBoardConnectorFreeEndpoint` [#iboardconnectorfreeendpoint]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardConnectorEndpoint`](#iboardconnectorendpoint)

```ts
interface IBoardConnectorFreeEndpoint extends IBoardConnectorPoint {
  kind: 'free'
}
```

**Related types:** [`IBoardConnectorPoint`](#iboardconnectorpoint)

## `IBoardConnectorLabelLayout` [#iboardconnectorlabellayout]

`import type { IBoardConnectorLabelLayout } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabel`](#iboardconnectorlabel)

Width and height describe the outer label box, including text padding.

```ts
type IBoardConnectorLabelLayout =
  | { mode: typeof BoardConnectorLabelSizing.AutoSize; width?: never; height?: never }
  | { mode: typeof BoardConnectorLabelSizing.FixedWidth; width: number; height?: never }
  | { mode: typeof BoardConnectorLabelSizing.FixedSize; width: number; height: number }
```

**Related types:** [`BoardConnectorLabelSizing`](#boardconnectorlabelsizing)

## `IBoardConnectorLabelPlacement` [#iboardconnectorlabelplacement]

`import type { IBoardConnectorLabelPlacement } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabel`](#iboardconnectorlabel)

```ts
interface IBoardConnectorLabelPlacement {
  mode?: 'auto' | 'fixed'

  anchor?: BoardConnectorLabelAnchor

  pathRatio?: number

  side?: BoardConnectorLabelSide

  distance?: number

  alongOffset?: number

  orientation?: BoardConnectorLabelOrientation

  offset?: IBoardConnectorLabelOffset
}
```

**Related types:** [`BoardConnectorLabelAnchor`](#boardconnectorlabelanchor) · [`BoardConnectorLabelSide`](#boardconnectorlabelside) · [`BoardConnectorLabelOrientation`](#boardconnectorlabelorientation) · [`IBoardConnectorLabelOffset`](#iboardconnectorlabeloffset)

## `IBoardConnectorLabelStyle` [#iboardconnectorlabelstyle]

`import type { IBoardConnectorLabelStyle } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabel`](#iboardconnectorlabel)

```ts
interface IBoardConnectorLabelStyle {
  fill?: Pick<NonNullable<IBasicShapeData['fill']>, 'color' | 'opacity'>

  stroke?: Pick<IShapeLineStyle, 'color' | 'dashType' | 'lineStrokeType' | 'opacity' | 'width'>

  interruptLine?: boolean

  maskFrame?: boolean

  lineGap?: number
}
```

**Related types:** [`IShapeLineStyle`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ishapelinestyle)

## `IBoardConnectorLifelineEndpoint` [#iboardconnectorlifelineendpoint]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardConnectorEndpoint`](#iboardconnectorendpoint)

```ts
interface IBoardConnectorLifelineEndpoint {
  kind: 'lifeline'
  shapeId: string
  offsetY: number
  fallbackPoint?: IBoardConnectorPoint
}
```

**Related types:** [`IBoardConnectorPoint`](#iboardconnectorpoint)

## `IBoardConnectorMarker` [#iboardconnectormarker]

`import type { IBoardConnectorMarker } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorStyle`](#iboardconnectorstyle)

```ts
interface IBoardConnectorMarker {
  type: BoardConnectorMarkerType
  size?: BoardConnectorMarkerSize
  offset?: number
  inheritStroke?: boolean
  inheritFill?: boolean
  parts?: Exclude<BoardConnectorMarkerType, 'none' | 'composite'>[]
}
```

**Related types:** [`BoardConnectorMarkerType`](#boardconnectormarkertype) · [`BoardConnectorMarkerSize`](#boardconnectormarkersize)

## `IBoardConnectorPoint` [#iboardconnectorpoint]

`import type { IBoardConnectorPoint } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorWaypoint`](#iboardconnectorwaypoint) · [`IBoardConnectorFreeEndpoint`](#iboardconnectorfreeendpoint) · [`IBoardConnectorLifelineEndpoint`](#iboardconnectorlifelineendpoint) · [`IBoardConnectorShapeBoundaryEndpoint`](#iboardconnectorshapeboundaryendpoint) · [`IBoardConnectorShapeSiteEndpoint`](#iboardconnectorshapesiteendpoint) · [`IBoardConnectorSharedRailData`](#iboardconnectorsharedraildata) · [`IBoardConnectorCurveAnchor`](#iboardconnectorcurveanchor) · [`IBoardConnectorCurveControl`](#iboardconnectorcurvecontrol)

```ts
interface IBoardConnectorPoint {
  x: number
  y: number
}
```

## `IBoardConnectorShapeBoundaryEndpoint` [#iboardconnectorshapeboundaryendpoint]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardConnectorEndpoint`](#iboardconnectorendpoint)

```ts
interface IBoardConnectorShapeBoundaryEndpoint {
  kind: 'shapeBoundary'
  shapeId: string
  outlineIndex: number
  segmentIndex: number
  segmentT: number
  boundaryRatio?: number
  localUV?: {
    u: number
    v: number
  }
  fallbackPoint?: IBoardConnectorPoint
}
```

**Related types:** [`IBoardConnectorPoint`](#iboardconnectorpoint)

## `IBoardConnectorShapeSiteEndpoint` [#iboardconnectorshapesiteendpoint]

`import type { IBoardConnectorShapeSiteEndpoint } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorEndpoint`](#iboardconnectorendpoint)

```ts
interface IBoardConnectorShapeSiteEndpoint {
  kind: 'shapeSite'
  shapeId: string
  connectionSiteId: number

  connectionPosition?: number

  connectionPositionMode?: 'auto' | 'fixed'
  fallbackPoint?: IBoardConnectorPoint
}
```

**Related types:** [`IBoardConnectorPoint`](#iboardconnectorpoint)

## `IBoardConnectorSharedRailData` [#iboardconnectorsharedraildata]

`import type { IBoardConnectorSharedRailData } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorOrthogonalData`](#iboardconnectororthogonaldata)

```ts
interface IBoardConnectorSharedRailData {
  start: IBoardConnectorPoint
  end: IBoardConnectorPoint
  ownerId: string
  connectorIds: string[]
}
```

**Related types:** [`IBoardConnectorPoint`](#iboardconnectorpoint)

## `IBoardShapePath` [#iboardshapepath]

`import type { IBoardShapePath } from '@univerjs-pro/boards'` · Used by [`IBoardShapeGeometry`](#iboardshapegeometry)

```ts
interface IBoardShapePath extends IShapePath {
  fillColor?: string
  strokeWidth?: number

  strokeOpacity?: number

  strokeDashArray?: number[]
}
```

**Related types:** [`IShapePath`](https://docs.univer.ai/ru-RU/reference/types/shapes-types.md#ishapepath)

## `IBoardSwimlaneLane` [#iboardswimlanelane]

`import type { IBoardSwimlaneLane } from '@univerjs-pro/boards'` · Used by [`IBoardSwimlaneData`](#iboardswimlanedata)

```ts
interface IBoardSwimlaneLane {
  id: string
  title: string
  order: number
  size: number
  minSize?: number
  locked?: boolean
  collapsed?: boolean
  titleStyle?: IBoardTextStyle
}
```

**Related types:** [`IBoardTextStyle`](#iboardtextstyle)

## `BoardConnectorAnimationMode` [#boardconnectoranimationmode]

`import type { BoardConnectorAnimationMode } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorAnimation`](#iboardconnectoranimation)

Visual effect used while a connector animation is enabled.

```ts
type BoardConnectorAnimationMode =
  | 'dash'
  | 'particle'
  | 'pulse'
  | 'gradient'
  | 'particles'
  | 'arrows'
```

## `BoardConnectorLabelAnchor` [#boardconnectorlabelanchor]

`import type { BoardConnectorLabelAnchor } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement)

```ts
type BoardConnectorLabelAnchor =
  (typeof BoardConnectorLabelAnchor)[keyof typeof BoardConnectorLabelAnchor]
```

## `BoardConnectorLabelOrientation` [#boardconnectorlabelorientation]

`import type { BoardConnectorLabelOrientation } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement)

```ts
type BoardConnectorLabelOrientation =
  (typeof BoardConnectorLabelOrientation)[keyof typeof BoardConnectorLabelOrientation]
```

## `BoardConnectorLabelSide` [#boardconnectorlabelside]

`import type { BoardConnectorLabelSide } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement)

```ts
type BoardConnectorLabelSide =
  (typeof BoardConnectorLabelSide)[keyof typeof BoardConnectorLabelSide]
```

## `BoardConnectorLabelSizing` [#boardconnectorlabelsizing]

`import type { BoardConnectorLabelSizing } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabelLayout`](#iboardconnectorlabellayout)

```ts
type BoardConnectorLabelSizing =
  (typeof BoardConnectorLabelSizing)[keyof typeof BoardConnectorLabelSizing]
```

## `BoardConnectorMarkerSize` [#boardconnectormarkersize]

Nested type in [`@univerjs-pro/boards`](https://docs.univer.ai/ru-RU/reference/packages/plugins/univerjs-pro/boards.md) · Used by [`IBoardConnectorMarker`](#iboardconnectormarker)

```ts
type BoardConnectorMarkerSize = 'sm' | 'md' | 'lg' | number
```

## `BoardConnectorMarkerType` [#boardconnectormarkertype]

`import type { BoardConnectorMarkerType } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorMarker`](#iboardconnectormarker)

```ts
type BoardConnectorMarkerType =
  | 'none'
  | 'composite'
  | 'openArrow'
  | 'filledArrow'
  | 'openTriangle'
  | 'filledTriangle'
  | 'openDiamond'
  | 'filledDiamond'
  | 'openCircle'
  | 'filledCircle'
  | 'bar'
  | 'doubleBar'
  | 'crowFoot'
  | 'cross'
  | 'plus'
```

## `IBoardConnectorLabelOffset` [#iboardconnectorlabeloffset]

`import type { IBoardConnectorLabelOffset } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabelPlacement`](#iboardconnectorlabelplacement)

```ts
type IBoardConnectorLabelOffset =
  | {
      space: typeof BoardConnectorLabelOffsetSpace.Path
      along: number
      normal: number
      x?: never
      y?: never
    }
  | {
      space: typeof BoardConnectorLabelOffsetSpace.Canvas
      x: number
      y: number
      along?: never
      normal?: never
    }
```

**Related types:** [`BoardConnectorLabelOffsetSpace`](#boardconnectorlabeloffsetspace)

## `BoardConnectorLabelOffsetSpace` [#boardconnectorlabeloffsetspace]

`import type { BoardConnectorLabelOffsetSpace } from '@univerjs-pro/boards'` · Used by [`IBoardConnectorLabelOffset`](#iboardconnectorlabeloffset)

```ts
type BoardConnectorLabelOffsetSpace =
  (typeof BoardConnectorLabelOffsetSpace)[keyof typeof BoardConnectorLabelOffsetSpace]
```
