Skip to content

API > @blocksuite/blocks > IConnector

Interface: IConnector ​

Extends ​

  • ISurfaceElement

Properties ​

absolutePath ​

absolutePath: IVec[]

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:59


batch ​

batch: null | string

Defined In ​

packages/blocks/src/surface-block/elements/surface-element.ts:32

Inherited from ​

ISurfaceElement.batch


controllers ​

controllers: Controller[]

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:56


frontEndpointStyle ​

optional frontEndpointStyle: ConnectorEndpointStyle

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:61


id ​

id: string

Defined In ​

packages/blocks/src/surface-block/elements/surface-element.ts:24

Inherited from ​

ISurfaceElement.id


index ​

index: string

Defined In ​

packages/blocks/src/surface-block/elements/surface-element.ts:27

Inherited from ​

ISurfaceElement.index


mode ​

mode: ConnectorMode

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:45


path ​

path: IVec[]

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:58


rearEndpointStyle ​

optional rearEndpointStyle: ConnectorEndpointStyle

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:62


rotate ​

rotate: number

Defined In ​

packages/blocks/src/surface-block/elements/surface-element.ts:31

Inherited from ​

ISurfaceElement.rotate


rough ​

optional rough: boolean

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:51


roughness ​

optional roughness: number

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:50


seed ​

seed: number

Defined In ​

packages/blocks/src/surface-block/elements/surface-element.ts:28

Inherited from ​

ISurfaceElement.seed


source ​

source: Connection

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:52


stroke ​

stroke: string

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:46


strokeStyle ​

strokeStyle: StrokeStyle

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:48


strokeWidth ​

strokeWidth: number

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:47


target ​

target: Connection

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:53


type ​

type: CONNECTOR

Defined In ​

packages/blocks/src/surface-block/elements/connector/types.ts:43

Overrides ​

ISurfaceElement.type


xywh ​

xywh: `[${number},${number},${number},${number}]`

Defined In ​

packages/blocks/src/surface-block/elements/surface-element.ts:26

Inherited from ​

ISurfaceElement.xywh