Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-surface / PathGenerator

Class: PathGenerator

Extended by

Constructors

new PathGenerator()

new PathGenerator(): PathGenerator

Returns

PathGenerator

Properties

_aStarRunner

protected _aStarRunner: null | AStarRunner = null

Defined in

packages/affine/block-surface/src/managers/connector-manager.ts:1039

Methods

_prepareOrthogonalConnectorInfo()

protected _prepareOrthogonalConnectorInfo(connectorInfo): [IVec, IVec, IVec, IVec, null | Bound, null | Bound, null | Bound, null | Bound]

Parameters

connectorInfo

OrthogonalConnectorInput

Returns

[IVec, IVec, IVec, IVec, null | Bound, null | Bound, null | Bound, null | Bound]

Defined in

packages/affine/block-surface/src/managers/connector-manager.ts:1041


generateOrthogonalConnectorPath()

generateOrthogonalConnectorPath(input): IVec[]

Parameters

input

OrthogonalConnectorInput

Returns

IVec[]

Defined in

packages/affine/block-surface/src/managers/connector-manager.ts:1088